How asmaa6777/web works
Recipe Finder is a Django application for discovering and saving recipes, with account/profile features and a staff content-management dashboard. The principal user flow is browsing or searching recipes, opening a recipe, and optionally saving it as a favorite; trending ranks recipes by favorites. Staff can manage recipes and accounts, with activity recorded in a log. The graph includes the documented seed and image-sync capabilities. Edges reflect shown calls or README statements; unsampled route wiring and database interactions are not asserted.
Main entry points: management/views.py Staff dashboard and actions · models.py Recipe and category · recipes/views.py Browse and search · social/views.py Favorites and trending
Components 13
Accounts
- Account and profile
accounts/views.py - Custom user
accounts/models.py
Recipe discovery
- Browse and search
recipes/views.py - Recipe and category
recipes/models.py
Favorites and trends
- Favorites and trending
social/views.py - Favorite records
social/models.py
Staff management
- Staff dashboard and actions
management/views.py - Recipe form
recipes/forms.py - User activity log
management/models.py
Recipe data operations
- Seed recipes and categories
recipes/management/commands/seed_data.py - Sync recipe images
recipes/sync_recipe_images.py - Recipe image map
recipes/recipe_image_map.py
Other components
- Visitor or user
Connections 16
- Visitor or user → Browse and search: browse or search
README.md - Visitor or user → Account and profile: manage account
README.md - Visitor or user → Favorites and trending: save or explore
README.md - Visitor or user → Staff dashboard and actions: manage content
README.md - Account and profile → Custom user: creates and updates
accounts/views.py - Browse and search → Recipe and category: queries recipes
recipes/views.py - Browse and search → Favorite records: checks favorites
recipes/views.py - Favorites and trending → Recipe and category: queries recipes
social/views.py - Favorites and trending → Favorite records: reads and toggles
social/views.py - Staff dashboard and actions → Custom user: manages users
management/views.py - Staff dashboard and actions → Recipe and category: manages recipes
management/views.py - Staff dashboard and actions → Recipe form: validates recipe edits
management/views.py - Staff dashboard and actions → User activity log: records activity
management/views.py - Seed recipes and categories → Recipe and category: creates recipes
recipes/management/commands/seed_data.py - Seed recipes and categories → Sync recipe images: runs image sync
recipes/management/commands/seed_data.py - Sync recipe images → Recipe image map: looks up filenames
recipes/sync_recipe_images.py