How adriananico/cofetarie works
NicoSweet is a Django bakery storefront for browsing and filtering pastries, viewing product details, creating accounts, and configuring custom cakes; it also exposes promotions and contact flows. Requests enter through the project URL configuration, route to bakery views, and use forms and Django models for validation and persisted state. Middleware records access requests, while admin supports staff management. The README is empty, so capability and relationship evidence comes from the route table and sampled source; unsampled view behavior is not expanded into assumed workflows.
Main entry points: views.py Request views · models.py Bakery data · urls.py Bakery routes · admin.py Staff admin
Components 17
Web application
- Project routing
Proiect/Proiect/urls.py - Bakery routes
Proiect/Cofetarie/urls.py - Request views
Proiect/Cofetarie/views.py - Store pages
Proiect/Cofetarie/templates/Cofetarie
Bakery catalog
- Product browsing
Proiect/Cofetarie/views.py - Custom cakes
Proiect/Cofetarie/views.py - Catalog forms
Proiect/Cofetarie/forms.py - Bakery data
Proiect/Cofetarie/models.py
Customer accounts
- Account flows
Proiect/Cofetarie/views.py - Account forms
Proiect/Cofetarie/forms.py - Customer accounts
Proiect/Cofetarie/models.py
Store operations
- Request logging
Proiect/Cofetarie/middleware.py - Access records
Proiect/Cofetarie/models.py - Staff admin
Proiect/Cofetarie/admin.py
Other components
- Visitor
- SMTP email
- PostgreSQL
Connections 19
- Visitor → Project routing: requests
Proiect/Proiect/urls.py - Project routing → Bakery routes: includes
Proiect/Proiect/urls.py - Bakery routes → Request views: routes to
Proiect/Cofetarie/urls.py - Bakery routes → Account forms: configures password form
Proiect/Cofetarie/urls.py - Request views → Store pages: renders
- Request views → Product browsing: handles catalog
Proiect/Cofetarie/views.py - Request views → Account flows: handles accounts
Proiect/Cofetarie/views.py - Product browsing → Catalog forms: validates filters
Proiect/Cofetarie/views.py - Product browsing → Bakery data: queries products
Proiect/Cofetarie/views.py - Custom cakes → Bakery data: uses cake models
Proiect/Cofetarie/views.py - Account flows → Account forms: uses account forms
Proiect/Cofetarie/views.py - Account flows → Customer accounts: uses user model
Proiect/Cofetarie/views.py - Account flows → SMTP email: sends confirmation
- Request logging → Access records: saves access
Proiect/Cofetarie/middleware.py - Staff admin → Bakery data: registers models
Proiect/Cofetarie/admin.py - Staff admin → Customer accounts: registers models
Proiect/Cofetarie/admin.py - Bakery data → PostgreSQL: persists records
- Customer accounts → PostgreSQL: persists records
- Access records → PostgreSQL: persists records