⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
import { and, eq } from "drizzle-orm";
import { HTTPException } from "hono/http-exception";
import db from "../../database";
import { projectTable } from "../../database/schema";
async function getProject(id: string, workspaceId: string) {
const project = await db.query.projectTable.findFirst({
where: and(
eq(projectTable.id, id),
eq(projectTable.workspaceId, workspaceId),
),
});
if (!project) {
throw new HTTPException(404, {
message: "Project not found",
});
}
return project;
}
export default getProject;