Express server with CRUD routes for agents, goals, issues, projects, and activity log. Includes validation middleware, structured error handling, request logging, and health check endpoint with tests. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
11 lines
189 B
TypeScript
11 lines
189 B
TypeScript
import { Router } from "express";
|
|
|
|
export function healthRoutes() {
|
|
const router = Router();
|
|
|
|
router.get("/", (_req, res) => {
|
|
res.json({ status: "ok" });
|
|
});
|
|
|
|
return router;
|
|
}
|