aethel
aethel copied to clipboard
[TASK 12.54] Route Registration
📋 Task Description
Mount all resource-specific route modules in the main application file.
🎯 Deliverables
Files to create/modify:
src/index.ts
📚 Reference Documentation
Refer to 00-Core-Architecture-and-Setup.md - Section 6 (Router Organization)
✅ Acceptance Criteria
- [ ] All route files (auth, users, folders, documents, images) are imported
- [ ] Each router is mounted with its correct base path (e.g., app.use('/auth', authRoutes))
- [ ] Routes are registered before the global error handler
⚠️ Important Guidelines
- Read CONTRIBUTING.md before starting
- PR must address only this issue - multi-issue PRs will be rejected
- Implement only what is specified - do not make assumptions or add extra features
- Follow the exact patterns and structure defined in the reference documentation
💬 Questions?
Ask in the Discord server or comment below before starting work.