Some checks failed
CI / build-and-test (pull_request) Has been cancelled
- Add PLAN.md and sync backend docs, .env.example, API doc (404 details) - Document mock DB and PORT/API_PORT in docs/backend.md; README monorepo + frontend/.env.example - Migration 002: finish_place column, status registered; mapper and mock DB updated - Frontend: registered status, finishPlace, calendar year/month filters, pace sparkline - Extract createApp for tests; supertest + tsx; GitHub Actions CI Made-with: Cursor
10 lines
266 B
TypeScript
10 lines
266 B
TypeScript
import { config } from "./config";
|
|
import { createApp } from "./app";
|
|
|
|
const app = createApp();
|
|
|
|
app.listen(config.apiPort, () => {
|
|
console.log(`[api] Listening on http://localhost:${config.apiPort}`);
|
|
console.log(`[api] CORS origin: ${config.corsOrigin}`);
|
|
});
|