Cousera final Backend Capstone Project PREVIEW
Welcome to the Little Lemon restaurant website, a delightful place to showcase our menu, attract customers, and manage orders seamlessly.
Little Lemon is a Django-based web application designed to provide an online presence for our restaurant. Whether you're a customer exploring our menu or an administrator managing orders, this website offers a user-friendly experience.
- Menu Display: Showcase your restaurant's menu with details about each dish.
- Order Management: Efficiently manage incoming orders and keep track of order status.
- User Authentication: Allow customers to create accounts, log in, and view order history.
- Responsive Design: Ensure a seamless experience on various devices, including mobile and desktop.
To set up the Little Lemon website locally, follow these steps:
-
Clone the Repository:
git clone https://github.com/davysongs/little_lemon.git
-
Navigate to the Project Directory:
cd littlelemon
-
Install Dependencies:
pip install -r requirements.txt
-
Setup Database: Create a new MySQL database named
little
. Then, run migrations -
Apply Migrations:
python manage.py migrate
-
Create a Superuser (Admin Account):
python manage.py createsuperuser
-
Run the Development Server:
python manage.py runserver
-
Access the Website: Open your web browser and go to http://localhost:8000/
- littlelemon/: Django project settings and configurations.
- menu/: Django app for menu-related functionalities.
- orders/: Django app for order management.
- templates/: HTML templates for rendering views.
- static/: Static files (CSS, JavaScript, images, etc.).
admin/ ''/ restaurant/ restaurant/booking/ users [name='register'] users/users/me [name='user-view'] auth/ auth/
- Django: Python web framework for building robust web applications.
- Bootstrap: Front-end framework for responsive and attractive UI.
- SQLite: Lightweight and easy-to-set-up database for development.
- Special thanks to the Django and Bootstrap communities for their excellent documentation and support.
Enjoy exploring the Little Lemon restaurant website! 🍋