How yomileonel/friendtasks works
PlanyourTasks is a Next.js/Supabase task app for friends. Users sign in, manage personal tasks through filtered views and a weekly calendar, and can create or join groups with shared lists, assignments, notes, and activity. The dashboard summarizes tasks and links to those areas. The graph separates app routes, task and collaboration capabilities, and the data/auth layer. The README documents broad product capabilities; detailed implementation edges are limited to the sampled dashboard, group page, auth callback, and client setup.
Main entry points: groups Group pages · server.ts Server Supabase client · data Collaboration data · page.tsx Dashboard
Components 19
App entry
- Landing page
friendtasks/components/marketing/landing.tsx - Login and signup
friendtasks/app/(auth) - Auth callback
friendtasks/app/auth/callback/route.ts - Dashboard
friendtasks/app/(app)/dashboard/page.tsx
Task management
- Smart task views
friendtasks/app/(app) - Weekly calendar
friendtasks/components/calendar/week-grid.tsx - Todo interactions
friendtasks/components/todo/todo-item.tsx - Todo actions
friendtasks/lib/actions/todos.ts - Todo queries
friendtasks/lib/data/todos.ts
Shared spaces
- Group pages
friendtasks/app/(app)/groups - Group collaboration
friendtasks/components/groups - Shared lists
friendtasks/app/(app)/lists - Collaboration data
friendtasks/lib/data
Data and identity
- Auth actions
friendtasks/lib/actions/auth.ts - Domain actions
friendtasks/lib/actions - Server Supabase client
friendtasks/lib/supabase/server.ts - Database model
friendtasks/lib/types/database.ts
Other components
- Visitor
- Supabase
Connections 22
- Visitor → Landing page: visits
- Landing page → Dashboard: signed-in redirect
- Visitor → Login and signup: registers or signs in
- Login and signup → Auth actions: submits signup
friendtasks/app/(auth)/signup/page.tsx - Auth callback → Server Supabase client: exchanges auth code
friendtasks/app/auth/callback/route.ts - Dashboard → Todo queries: loads task summaries
friendtasks/app/(app)/dashboard/page.tsx - Dashboard → Smart task views: links to task views
friendtasks/app/(app)/dashboard/page.tsx - Smart task views → Todo interactions: shows tasks
- Weekly calendar → Todo actions: creates calendar tasks
- Todo interactions → Todo actions: updates tasks
- Todo actions → Todo queries: persists task changes
- Group pages → Collaboration data: loads group content
friendtasks/app/(app)/groups/[groupId]/page.tsx - Group pages → Domain actions: invokes collaboration actions
friendtasks/app/(app)/groups/[groupId]/page.tsx - Group pages → Group collaboration: renders group features
friendtasks/app/(app)/groups/[groupId]/page.tsx - Group pages → Shared lists: renders shared lists
friendtasks/app/(app)/groups/[groupId]/page.tsx - Group collaboration → Collaboration data: manages membership
- Shared lists → Collaboration data: manages shared lists
- Auth actions → Server Supabase client: uses auth service
- Server Supabase client → Supabase: connects with session
friendtasks/lib/supabase/server.ts - Todo queries → Supabase: reads task data
- Collaboration data → Supabase: reads shared data
- Server Supabase client → Database model: types client
friendtasks/lib/supabase/server.ts