This commit is contained in:
Your Name committed 2026-07-08 15:10:29 +00:00
1 parent d63ed3e7ef
commit 8f0f0cd36e
22 files changed
+1129 -1032

No files matched your search

+2
View File
@@ -5,6 +5,7 @@ import { config } from './config.js'
import { authRoutes } from './routes/auth.js'
import { cisesRoutes } from './routes/cises.js'
import { updRoutes } from './routes/upd.js'
import { plansRoutes } from './routes/plans.js'
const app = Fastify({ logger: true })
@@ -20,6 +21,7 @@ await app.register(multipart, {
await app.register(authRoutes)
await app.register(cisesRoutes)
await app.register(updRoutes)
await app.register(plansRoutes)
app.get('/health', async () => ({ status: 'ok', timestamp: new Date().toISOString() }))