aethel icon indicating copy to clipboard operation
aethel copied to clipboard

[TASK 12.54] Route Registration

Open aditsuru opened this issue 1 year ago • 0 comments

📋 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.

aditsuru avatar Oct 17 '25 14:10 aditsuru