How wasimranacse/foodfindr-uk works
FoodFindr is a scaffolded restaurant discovery, trust, offers, and promotion platform with a React client and Django REST backend. The intended customer path is browse/search, inspect a restaurant, then use an action such as saving or claiming an offer; owners and admins have separate management areas. The source tree implements several domain apps, while some README capabilities remain planned rather than represented by dedicated modules. Edges reflect shown frontend calls or README-described API contracts; unsampled backend internals are not assumed to call one another.
Main entry points: restaurants/models.py Restaurant profiles · App.jsx Route dispatch · client.js API client · offers/models.py Offers
Components 19
Web experience
- Route dispatch
frontend/src/routes/App.jsx - Sign-in flows
frontend/src/pages/AuthPages.jsx - Auth context
frontend/src/context/AuthContext.jsx - API client
frontend/src/api/client.js - Restaurant search
frontend/src/pages/RestaurantsPage.jsx - Restaurant detail
frontend/src/pages/RestaurantDetailPage.jsx - Role dashboards
frontend/src/pages/DashboardPages.jsx
Restaurant catalog
- Restaurant profiles
backend/apps/restaurants/models.py - Location data
backend/apps/locations/models.py - Menus
backend/apps/menus/models.py
Customer engagement
- Offers
backend/apps/offers/models.py - Reviews
backend/apps/reviews/models.py - Favourites
backend/apps/favourites/views.py - CTA analytics
backend/apps/analytics/views.py
Identity and platform
- Accounts and roles
backend/apps/users/models.py - Verification and audit
backend/apps/security/services.py - External integrations
backend/apps/integrations/services - Configured database
backend/config/settings/base.py
Other components
- Customer or owner
Connections 21
- Customer or owner → Route dispatch: opens pages
frontend/src/routes/App.jsx - Route dispatch → Restaurant search: routes to
frontend/src/routes/App.jsx - Route dispatch → Restaurant detail: routes to
frontend/src/routes/App.jsx - Route dispatch → Role dashboards: routes to
frontend/src/routes/App.jsx - Route dispatch → Sign-in flows: routes to
frontend/src/routes/App.jsx - Sign-in flows → Auth context: invokes login
frontend/src/pages/AuthPages.jsx - Auth context → API client: requests profile
frontend/src/context/AuthContext.jsx - Restaurant search → API client: loads restaurants
frontend/src/api/client.js - API client → Restaurant profiles: requests REST data
README.md - API client → Offers: requests offers
README.md - API client → Accounts and roles: auth requests
README.md - Restaurant profiles → Location data: location hierarchy
README.md - Customer or owner → Favourites: saves restaurants
README.md - Customer or owner → Reviews: submits reviews
README.md - Customer or owner → CTA analytics: records CTA events
README.md - Accounts and roles → Verification and audit: uses verification
README.md - Restaurant profiles → Menus: owner-submitted menus
README.md - Restaurant profiles → Offers: owner-managed offers
README.md - External integrations → Restaurant profiles: supports links
README.md - Restaurant profiles → Configured database: persists domain data
backend/config/settings/base.py - Offers → Configured database: persists domain data
backend/config/settings/base.py