diff --git a/src/routes/index.ts b/src/routes/index.ts index c9ed2f8..cec604b 100644 --- a/src/routes/index.ts +++ b/src/routes/index.ts @@ -9,6 +9,24 @@ import { processRoutes } from './process.routes'; const router = Router(); +// Root endpoint +router.get('/', (req, res) => { + res.json({ + message: 'LeCoffre Backend API', + version: '1.0.0', + status: 'running', + endpoints: { + health: '/api/v1/health', + sms: '/api/sms', + idnot: '/api/v1/idnot', + process: '/api/v1/process', + email: '/api/email', + stripe: '/api/stripe', + subscription: '/api/subscription' + } + }); +}); + // Mount routes router.use('/api/v1', healthRoutes); router.use('/api', smsRoutes);