How mohitt-0805/lifesync works
LifeSync is a personal productivity and student-life application: users sign in, manage tasks and other life-planning areas, and can study financial-literacy lessons. The visible task workflow runs from the protected frontend task screen through its API client to the backend task route. Backend routes are mounted centrally; the sampled task route connects to its controller, while authentication and lesson completion show user identity and learning rewards. The README contains only the product name, so feature coverage comes from the source tree and frontend routes; unsampled domain internals are not expanded into speculative call chains.
Main entry points: App.jsx Route composition · app.js Express API · authRoutes.js Auth routes · Tasks.jsx Task workspace
Components 22
Frontend experience
- Route composition
lifesync/frontend/src/App.jsx - Dashboard
lifesync/frontend/src/features/dashboard/Dashboard.jsx
Planning features
- Task workspace
lifesync/frontend/src/features/tasks/Tasks.jsx - Task API client
lifesync/frontend/src/features/tasks/tasksApi.js - Goals
lifesync/frontend/src/features/goals - Habits
lifesync/frontend/src/features/habits - Expenses
lifesync/frontend/src/features/expenses - Notes
lifesync/frontend/src/features/notes - Calendar
lifesync/frontend/src/features/calendar - Timetable
lifesync/frontend/src/features/timetable
Backend API
- Express API
lifesync/backend/src/app.js - Task routes
lifesync/backend/src/routes/taskRoutes.js - Task operations
lifesync/backend/src/controllers/taskController.js - Task data
lifesync/backend/src/models/Task.js
Learning and rewards
- Learn experience
lifesync/frontend/src/features/learn - Lesson progression
lifesync/backend/src/controllers/learnController.js - XP and achievements
lifesync/backend/src/utils/gamification.js
Identity and persistence
- Auth routes
lifesync/backend/src/routes/authRoutes.js - Authentication
lifesync/backend/src/controllers/authController.js - JWT verification
lifesync/backend/src/middlewares/authMiddleware.js - User model
lifesync/backend/src/models/User.js
Other components
- User
Connections 22
- User → Route composition: uses
lifesync/frontend/src/App.jsx - Route composition → Dashboard: routes to
lifesync/frontend/src/App.jsx - Route composition → Task workspace: routes to
lifesync/frontend/src/App.jsx - Route composition → Goals: routes to
lifesync/frontend/src/App.jsx - Route composition → Habits: routes to
lifesync/frontend/src/App.jsx - Route composition → Expenses: routes to
lifesync/frontend/src/App.jsx - Route composition → Notes: routes to
lifesync/frontend/src/App.jsx - Route composition → Calendar: routes to
lifesync/frontend/src/App.jsx - Route composition → Timetable: routes to
lifesync/frontend/src/App.jsx - Route composition → Learn experience: routes to
lifesync/frontend/src/App.jsx - Task workspace → Task API client: queries and mutates
lifesync/frontend/src/features/tasks/Tasks.jsx - Task API client → Express API: requests tasks
lifesync/frontend/src/features/tasks/tasksApi.js - Express API → Task routes: mounts
lifesync/backend/src/app.js - Task routes → Task operations: dispatches to
lifesync/backend/src/routes/taskRoutes.js - Task operations → Task data: uses
- Express API → Auth routes: mounts
lifesync/backend/src/app.js - Auth routes → Authentication: dispatches to
lifesync/backend/src/routes/authRoutes.js - Auth routes → JWT verification: protects routes
lifesync/backend/src/routes/authRoutes.js - Authentication → User model: reads and writes
lifesync/backend/src/controllers/authController.js - JWT verification → User model: loads user
lifesync/backend/src/middlewares/authMiddleware.js - Learn experience → Lesson progression: requests lessons
- Lesson progression → XP and achievements: awards progress
lifesync/backend/src/controllers/learnController.js