How rupesh040/myturn works
This is a mobile-oriented personal routine, habit, and task planner built with React and Capacitor. Users enter through the routed app, create scheduled routines or timed to-dos, track completion and habits, and review progress; additional areas provide notes, AI-assisted writing, customization, profile settings, and backups. The excerpts show localStorage-backed routine and todo state and notification scheduling, but do not establish a shared storage layer or the internals of several major pages, so those connections are omitted or left unverified.
Main entry points: App.jsx Route shell · Home.jsx Routine dashboard · Todo.jsx To-do manager · CreateRoutine.jsx Routine editor
Components 29
App navigation
- React entry
src/main.jsx - Route shell
src/App.jsx
Routine planning
- Routine dashboard
src/page/Home.jsx - Routine editor
src/page/CreateRoutine.jsx - Routine stickers
src/components/Routine.js - Routine alerts
src/components/RoutineAlert.js - Habit tracking
src/components/Habits.js - Edit routine
src/components/EditRoutine.jsx - Calendar picker
src/components/CalendarModal.jsx
Task tracking
- To-do manager
src/page/Todo.jsx - To-do creation
src/components/Todocreate.jsx - Time picker
src/components/AlarmTimeTodo.jsx - To-do alerts
src/components/TodoAlert.js - Alarm service
src/components/alarmService.js - Alarm runtime
src/components/alarm.js - Completed tasks
src/page/CompletedTodo.jsx
Notes and insights
- Analytics
src/page/Analytics.jsx - Notes
src/page/Notes.jsx - Note editor
src/components/Note.jsx - Syllabus editor
src/page/Syllabus.jsx - Motivation
src/page/Dopamine.jsx
Personalization
- Profile settings
src/page/Profile.jsx - To-do customization
src/page/TodoCustomize.jsx - Meeple collection
src/page/Meeple.jsx - Backup
src/page/Backup.jsx
Other components
- User
- Google AI
- Browser local storage
- Device notifications
Connections 42
- User → React entry: opens app
src/main.jsx - React entry → Route shell: renders
src/main.jsx - Route shell → Routine dashboard: routes to
src/App.jsx - Route shell → To-do manager: routes to
src/App.jsx - Route shell → Analytics: routes to
src/App.jsx - Route shell → Profile settings: routes to
src/App.jsx - Route shell → To-do customization: routes to
src/App.jsx - Route shell → Meeple collection: routes to
src/App.jsx - Route shell → Backup: routes to
src/App.jsx - Route shell → Routine editor: routes to
src/App.jsx - Route shell → Completed tasks: routes to
src/App.jsx - Route shell → Notes: routes to
src/App.jsx - Route shell → Syllabus editor: routes to
src/App.jsx - Route shell → Motivation: routes to
src/App.jsx - Routine dashboard → Browser local storage: reads routines
src/page/Home.jsx - Routine dashboard → Browser local storage: writes routines
- Routine dashboard → Edit routine: renders
src/page/Home.jsx - Routine dashboard → Habit tracking: renders
src/page/Home.jsx - Routine dashboard → Calendar picker: renders
src/page/Home.jsx - Routine dashboard → Routine stickers: looks up stickers
src/page/Home.jsx - Routine dashboard → Routine alerts: cancels alerts
src/page/Home.jsx - Routine editor → Routine stickers: uses catalog
src/page/CreateRoutine.jsx - Routine editor → Routine alerts: schedules alerts
src/page/CreateRoutine.jsx - Routine editor → Browser local storage: writes routines
- To-do manager → To-do creation: renders
src/page/Todo.jsx - To-do manager → Browser local storage: writes todos
src/page/Todo.jsx - To-do creation → Time picker: renders
src/components/Todocreate.jsx - To-do creation → To-do alerts: uses alerts
src/components/Todocreate.jsx - To-do manager → To-do alerts: cancels alarms
src/page/Todo.jsx - Route shell → To-do alerts: restores alarms
src/App.jsx - Route shell → Routine alerts: restores alerts
src/App.jsx - To-do alerts → Device notifications: schedules
- Routine alerts → Device notifications: schedules
- Alarm service → Alarm runtime: delegates
- To-do manager → Completed tasks: navigates to
- Analytics → Browser local storage: reads routine data
- Notes → Note editor: renders
src/page/Notes.jsx - Note editor → Google AI: requests AI
src/components/Note.jsx - Syllabus editor → Google AI: requests AI
src/page/Syllabus.jsx - Motivation → Note editor: uses notes
src/page/Dopamine.jsx - Profile settings → Device notifications: tests notification
src/page/Profile.jsx - Backup → Browser local storage: backs up data