diff --git a/backend/src/routes/index.ts b/backend/src/routes/index.ts index 4f93552..1150428 100644 --- a/backend/src/routes/index.ts +++ b/backend/src/routes/index.ts @@ -1,12 +1,15 @@ import { FastifyInstance } from 'fastify'; import authRoutes from './auth'; +import projectsRoutes from './projects'; export default async function routes(fastify: FastifyInstance) { // Register all route groups fastify.register(authRoutes, { prefix: '/auth' }); + // Register project routes + fastify.register(projectsRoutes, { prefix: '/projects' }); + // TODO: Register other route groups when implemented - // fastify.register(projectsRoutes, { prefix: '/projects' }); // fastify.register(layersRoutes, { prefix: '/layers' }); // fastify.register(elementsRoutes, { prefix: '/elements' }); // fastify.register(blocksRoutes, { prefix: '/blocks' });