How sanithreddy06/control-center works
Control Center is a private, authenticated personal hub. Users sign in, then work through dashboard and productivity modules; each module's API route validates access and reads or writes Supabase. The README also documents vault-protected document storage, owner-only cross-domain analytics, reminders, weather, settings, and PWA offline support. Sampled API code confirms the key data paths; unsampled features are represented by their documented source directories, with uncertain internal wiring omitted.
Main entry points: api Feature APIs · AppShell.tsx Protected app shell · DashboardSummary.tsx Dashboard · auth.ts Authentication
Components 23
App experience
- Protected app shell
src/components/layout/AppShell.tsx - Dashboard
src/components/dashboard/DashboardSummary.tsx - Login
src/app/login/page.tsx - Offline fallback
src/app/offline/page.tsx
Personal tools
- Notes
src/components/notes/NotesPage.tsx - Todos
src/components/todos/TodosPage.tsx - Exams
src/components/exams/ExamsPage.tsx - Calendar
src/components/calendar/CalendarPage.tsx - Bookmarks
src/components/bookmarks/BookmarksPage.tsx - Documents vault
src/components/documents/DocumentsPage.tsx - Universal search
src/components/search/SearchPage.tsx - Settings
src/components/settings/SettingsPage.tsx - Analytics dashboard
src/components/analytics/AnalyticsPage.tsx
Application services
- Feature APIs
src/app/api - Authentication
src/auth.ts - Reminder service
src/app/api/reminders/route.ts - Weather service
src/app/api/weather/route.ts - Analytics tracking
src/app/api/analytics/track/route.ts
External services
- Supabase
- Document storage
- Weather and geocoding
Other components
- User
- Owner's websites
Connections 33
- User → Login: signs in
- Login → Authentication: authenticates
- Authentication → Supabase: checks account
- User → Protected app shell: opens modules
- Protected app shell → Dashboard: shows
- Protected app shell → Notes: opens
- Protected app shell → Todos: opens
- Protected app shell → Exams: opens
- Protected app shell → Calendar: opens
- Protected app shell → Bookmarks: opens
- Protected app shell → Documents vault: opens
- Protected app shell → Universal search: opens
- Protected app shell → Settings: opens
- Protected app shell → Analytics dashboard: opens
- Notes → Feature APIs: requests notes
- Todos → Feature APIs: requests tasks
- Exams → Feature APIs: requests exams
- Calendar → Feature APIs: requests events
- Bookmarks → Feature APIs: requests links
- Documents vault → Feature APIs: requests files
- Universal search → Feature APIs: searches records
- Settings → Feature APIs: updates settings
- Dashboard → Feature APIs: loads summary
- Feature APIs → Authentication: requires user
- Feature APIs → Supabase: reads and writes
- Feature APIs → Document storage: stores files
- Dashboard → Weather service: loads forecast
- Weather service → Weather and geocoding: fetches forecast
- Analytics tracking → Supabase: records visits
- Owner's websites → Analytics tracking: sends page views
- Analytics dashboard → Feature APIs: loads traffic
- Feature APIs → Reminder service: serves reminders
- Offline fallback → Protected app shell: fallback for