Module: index

Server entry point. Initialises the database, mounts all route modules on the Express app, and starts listening.

Mounted routes (INF-005: all under /api/v1/)

Prefix Module
/api/v1/projects routes/projects
/api/v1 (tests) routes/tests
/api/v1 (runs) routes/runs
/api/v1 (SSE) routes/sse
/api/v1 (dashboard) routes/dashboard
/api/v1 (settings) routes/settings
/api/v1 (system) routes/system
/api/v1 (testFix) routes/testFix
/api/v1/auth routes/auth
/health Health check

Legacy /api/* paths are 308-redirected to /api/v1/* for backward compatibility during the transition window (INF-005).

Source: