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>
6 lines
142 B
TypeScript
6 lines
142 B
TypeScript
import pino from "pino";
|
|
import { pinoHttp } from "pino-http";
|
|
|
|
export const logger = pino();
|
|
export const httpLogger = pinoHttp({ logger });
|