How jawi-lab/ai-coding-starter-kit works
Mellon is a mobile-first app for friend groups, delivered as a web app and through Capacitor. The main user journey is authentication and onboarding, joining or creating a group, then proposing ideas, planning activities on a Kanban board, finding dates, and keeping memories. The group-detail shell selects the proposal, planning, and date tabs; profile, notifications, badges, and personal archives provide supporting capabilities. The excerpts show the Supabase-backed auth setup and selected UI wiring; several feature implementations are indexed but unsampled, so their internal calls are not asserted.
Main entry points: view/page.tsx Group shell · groups/page.tsx Group home · AuthContext.tsx Auth state · supabase.ts Supabase client
Components 23
Entry and identity
- Login and signup
src/app/login/page.tsx - Auth state
src/contexts/AuthContext.tsx - Route guard
src/components/auth/AuthGuard.tsx - Onboarding
src/components/groups/OnboardingScreen.tsx
Groups and planning
- Group home
src/app/groups/page.tsx - Group shell
src/app/groups/view/page.tsx - Group navigation
src/lib/group-routes.ts - Idea proposals
src/components/groups/tabs/VorschlaegeTab.tsx - Activity collaboration
src/components/groups/ActivityDetailSheet.tsx - Kanban planning
src/components/groups/tabs/PlanungTab.tsx - Date finding
src/components/groups/tabs/TermineTab.tsx
Reminders and memories
- Profile and archive
src/components/profile/ProfileSheet.tsx - Notifications
src/components/notifications/NotificationBell.tsx - Memory cards
src/components/memory/MemoryCardReveal.tsx - Group recap
src/components/wrapped/WrappedStoryViewer.tsx
Data and native platform
- Supabase client
src/lib/supabase.ts - Database model
src/lib/database.types.ts - Media storage
src/lib/storage.ts - Availability function
supabase/functions/get-group-availability/index.ts - Push function
supabase/functions/send-push/index.ts - Capacitor app
capacitor.config.ts
Other components
- Group member
- Supabase services
Connections 29
- Group member → Login and signup: signs in
src/app/login/page.tsx - Login and signup → Auth state: uses auth
src/app/login/page.tsx - Auth state → Supabase client: loads session
src/contexts/AuthContext.tsx - Auth state → Supabase services: reads profile
src/contexts/AuthContext.tsx - Route guard → Auth state: checks identity
src/components/auth/AuthGuard.tsx - Group member → Onboarding: creates or joins
README.md - Group home → Route guard: protects page
src/app/groups/page.tsx - Group home → Group navigation: navigates groups
src/app/groups/page.tsx - Group home → Onboarding: opens onboarding
src/app/groups/page.tsx - Group home → Notifications: shows bell
src/app/groups/page.tsx - Group home → Profile and archive: shows tasks
src/app/groups/page.tsx - Group navigation → Group shell: routes to shell
src/lib/group-routes.ts - Group shell → Route guard: protects page
src/app/groups/view/page.tsx - Group shell → Idea proposals: renders tab
src/app/groups/view/page.tsx - Group shell → Kanban planning: renders tab
src/app/groups/view/page.tsx - Group shell → Date finding: renders tab
src/app/groups/view/page.tsx - Group member → Idea proposals: suggests and votes
README.md - Group member → Kanban planning: plans activities
README.md - Group member → Date finding: finds dates
README.md - Group member → Memory cards: revisits memories
README.md - Group shell → Memory cards: renders reveal
src/app/groups/view/page.tsx - Group shell → Group recap: renders recap
src/app/groups/view/page.tsx - Notifications → Supabase client: loads notifications
- Profile and archive → Supabase client: loads profile data
- Media storage → Supabase services: signs media URLs
src/lib/storage.ts - Supabase client → Database model: types client
src/lib/supabase.ts - Availability function → Supabase services: queries availability
- Push function → Supabase services: dispatches pushes
- Capacitor app → Group member: hosts mobile app
README.md