How concop19/dailymate_ios works
Dailymate is a SwiftUI meal-discovery app. Its principal workflow takes a signed-in user through profile and taste onboarding, then presents weather-aware meal suggestions and lets the user refine them by ingredients before browsing dishes. Dish detail, cooking steps, and meal history are distinct product areas present in the source tree. The excerpts establish app routing, onboarding progression, authentication, and parts of home navigation; several feature implementations were not sampled, so their internal links are left unverified.
Main entry points: OnboardingFeature.swift Onboarding coordinator · AppFeature.swift App coordinator · HomeFeature.swift Home and suggestions · AppView.swift App screen routing
Components 26
App flow
- App coordinator
dailymate/App/AppFeature.swift - App screen routing
dailymate/App/AppView.swift
Identity and profile
- Sign-in and account
dailymate/Features/Auth/AuthFeature.swift - Auth provider client
dailymate/Core/Clients/AuthClient.swift - Supabase service
dailymate/Core/Clients/SupabaseClient.swift - Profile bootstrap
dailymate/Core/Clients/OnboardingSupabaseClient.swift - Cached profile and drafts
dailymate/Core/Clients/LocalClient.swift
Taste onboarding
- Onboarding coordinator
dailymate/Features/Onboarding/OnboardingFeature.swift - Personal details
dailymate/Features/Onboarding/Stages/Stage1PersonalFeature.swift - Region selection
dailymate/Features/Onboarding/Stages/Stage2RegionFeature.swift - Diet and allergies
dailymate/Features/Onboarding/Stages/Stage3DietAllergyFeature.swift - Dish taste votes
dailymate/Features/Onboarding/Stages/Stage4FlashcardsFeature.swift - Taste summary
dailymate/Features/Onboarding/Stages/Stage5TasteSummaryFeature.swift - Onboarding draft
dailymate/Core/Models/OnboardingDraft.swift - Profile data mapping
dailymate/Core/Clients/DTO/OnboardingMapper.swift - Onboarding API
dailymate/Features/Onboarding/Client/OnboardingAPIClient.swift
Meal discovery
- Home and suggestions
dailymate/Features/Home/HomeFeature.swift - Weather data
dailymate/Features/Home/Client/HomeClient.swift - Search parameter builder
dailymate/Features/Home/Client/SearchParamsBuilder.swift - Ingredient selection
dailymate/Features/Home/IngredientChossing/IngredientChossingFeatures.swift - Dish results
dailymate/Features/Dishes/DishListFeature.swift - Backend requests
dailymate/Core/Clients/BackendClient.swift
Meal journey
- Dish detail
dailymate/Features/DishDetail/DishDetailFeatures.swift - Cooking steps
dailymate/Features/CookingSteps/CookingStepsFeatures.swift - Dish history
dailymate/Features/History/DishHistoryFeatures.swift
Other components
- User
Connections 31
- User → App screen routing: uses
dailymate/App/AppView.swift - App screen routing → App coordinator: sends actions
dailymate/App/AppView.swift - App screen routing → Sign-in and account: shows when signed out
dailymate/App/AppView.swift - App screen routing → Onboarding coordinator: shows onboarding
dailymate/App/AppView.swift - App screen routing → Home and suggestions: shows home
dailymate/App/AppView.swift - App coordinator → Sign-in and account: scopes feature
dailymate/App/AppFeature.swift - App coordinator → Home and suggestions: scopes feature
dailymate/App/AppFeature.swift - App coordinator → Auth provider client: observes auth state
dailymate/App/AppFeature.swift - App coordinator → Profile bootstrap: loads startup profile
dailymate/App/AppFeature.swift - App coordinator → Cached profile and drafts: reads cached profile
dailymate/App/AppFeature.swift - Sign-in and account → Auth provider client: performs auth actions
dailymate/Features/Auth/AuthFeature.swift - Auth provider client → Supabase service: calls auth service
dailymate/Core/Clients/AuthClient.swift - Profile bootstrap → Supabase service: uses client
dailymate/Core/Clients/OnboardingSupabaseClient.swift - App coordinator → Onboarding coordinator: routes after profile
dailymate/App/AppFeature.swift - Onboarding coordinator → Personal details: scopes stage
dailymate/Features/Onboarding/OnboardingFeature.swift - Onboarding coordinator → Region selection: creates next stage
dailymate/Features/Onboarding/OnboardingFeature.swift - Onboarding coordinator → Diet and allergies: creates next stage
dailymate/Features/Onboarding/OnboardingFeature.swift - Onboarding coordinator → Dish taste votes: advances stage
dailymate/Features/Onboarding/OnboardingFeature.swift - Onboarding coordinator → Taste summary: advances stage
dailymate/Features/Onboarding/OnboardingFeature.swift - Onboarding coordinator → Onboarding draft: updates and saves
dailymate/Features/Onboarding/OnboardingFeature.swift - Onboarding API → Profile data mapping: maps API data
dailymate/Features/Onboarding/Client/OnboardingAPIClient.swift - Profile data mapping → Onboarding draft: maps draft
dailymate/Core/Clients/DTO/OnboardingMapper.swift - Onboarding coordinator → Profile bootstrap: submits completed profile
- Home and suggestions → Weather data: fetches weather
- Home and suggestions → Search parameter builder: builds search params
dailymate/Features/Home/Client/SearchParamsBuilder.swift - Home and suggestions → Ingredient selection: opens ingredient flow
- Home and suggestions → Dish results: opens dish results
dailymate/Features/Home/HomeFeature.swift - Dish results → Backend requests: requests results
- Dish results → Dish detail: opens selected dish
- Dish detail → Cooking steps: opens cooking steps
- Dish detail → Dish history: records meal activity