A simple and elegant Django-based web application to showcase a bakery’s menu. This project allows easy management of bakery products and menu items through the Django admin interface and displays them beautifully on the website using Bootstrap.
- Dynamic Menu Management: Add, edit, and manage bakery products with images, descriptions, and prices via Django Admin.
- Menu Items Control: Decide which products appear on the menu and customize their order and availability.
- Responsive Frontend: Clean and responsive design powered by Bootstrap for great user experience on all devices.
- Multiple Views:
- Home Page Preview: Highlights select menu items on the homepage.
- Full Menu Page: Displays the complete menu in a user-friendly table layout.
- Image Upload: Upload product images to visually enhance the menu.
- Backend: Django (Python web framework)
- Frontend: Bootstrap 5 (responsive CSS framework)
- Database: SQLite (default Django database)
- Templating: Django Templating Language (DTL)
- Image Handling: Django's built-in
ImageFieldand media settings
- Admin Interface: Use Django Admin to create
Productentries with name, description, price, and image. - Menu Control: Create
MenuItementries linking toProductto control menu availability and order. - Frontend Display:
- Homepage shows a preview selection of available menu items.
- Menu page lists all available items in a Bootstrap-styled table with images, descriptions, and prices.
- URL Routing: Separate views for home and menu pages serve respective templates with the menu data.
-
Clone this repo.
-
Set up a virtual environment and install dependencies:
pip install django
-
Run migrations:
python manage.py migrate
-
Create a superuser to access the admin panel:
python manage.py createsuperuser
-
Run the development server:
python manage.py runserver
-
Visit http://localhost:8000/admin/ to add products and menu items.
View the homepage and menu pages at / and /menu/ respectively.





