How raahuldaksh/ordo works
ORDO is a personal productivity platform whose core loop is planning a realistic day, recording task outcomes, reviewing analytics, and adjusting routines. The Next.js client presents the workflow and communicates with an Express REST API backed by MongoDB. The graph includes documented calendar, AI coaching, and notification capabilities, but their detailed call paths are not shown in the sampled source; those links are therefore omitted. The API-to-frontend relationship and domain capabilities are based on the README, with implementation paths taken from the repository tree and SOURCE INDEX.
Main entry points: models/index.ts MongoDB models · routes/index.ts API route registry · routineController.ts Routine endpoints · weeklyReviewController.ts Weekly review records
Components 22
Product interface
- ORDO web app
frontend/src/app/(dashboard)/dashboard/page.tsx - Daily planner
frontend/src/app/(dashboard)/my-day/page.tsx - Task workspace
frontend/src/app/(dashboard)/tasks/page.tsx - Routine templates
frontend/src/app/(dashboard)/routines/page.tsx - Calendar view
frontend/src/app/(dashboard)/calendar/page.tsx - Analytics view
frontend/src/app/(dashboard)/analytics/page.tsx - Weekly review
frontend/src/app/(dashboard)/weekly-review/page.tsx - AI assistant
frontend/src/app/(dashboard)/ai-assistant/page.tsx
API and access
- REST API v1
backend/src/app.ts - API route registry
backend/src/routes/index.ts - Auth endpoints
backend/src/controllers/authController.ts - Routine endpoints
backend/src/controllers/routineController.ts
Planning and execution
- Routine management
backend/src/services/routineService.ts - Task outcomes
backend/src/services/taskService.ts - Calendar integration
backend/src/services/calendarService.ts
Review and coaching
- Productivity analytics
backend/src/services/analyticsService.ts - Weekly review records
backend/src/controllers/weeklyReviewController.ts - AI coaching
backend/src/services/aiService.ts
Identity and persistence
- Authentication
backend/src/services/authService.ts - MongoDB models
backend/src/models/index.ts - Auth middleware
backend/src/middlewares/auth.ts
Other components
- User
Connections 14
- User → ORDO web app: uses
README.md - ORDO web app → REST API v1: calls REST API
README.md - REST API v1 → API route registry: mounts v1 routes
backend/src/app.ts - API route registry → Auth endpoints: registers auth routes
backend/src/routes/index.ts - API route registry → Routine endpoints: registers routine routes
backend/src/routes/index.ts - Routine endpoints → Routine management: calls
backend/src/controllers/routineController.ts - Routine endpoints → Auth middleware: requires authentication
backend/src/routes/routineRoutes.ts - Auth endpoints → Authentication: calls
backend/src/controllers/authController.ts - Authentication → MongoDB models: reads and writes
backend/src/services/authService.ts - Auth middleware → MongoDB models: checks user
backend/src/middlewares/auth.ts - Routine management → MongoDB models: reads and writes
backend/src/services/routineService.ts - Weekly review records → Productivity analytics: snapshots metrics
backend/src/controllers/weeklyReviewController.ts - Weekly review records → MongoDB models: reads and writes reviews
backend/src/controllers/weeklyReviewController.ts - Productivity analytics → MongoDB models: reads productivity data
backend/src/services/analyticsService.ts