The Restaurant Management System is a web application that allows restaurant managers to manage reservations, orders, menus, and staff. It is built using Django (Python) for the backend framework by Olalekan Onifade.
- User registration and authentication
- Table reservation management
- Menu management
- Order management
- Staff management
- Python
- Django
- SQLite (default database, can be replaced with PostgreSQL or MySQL)
- HTML/CSS for front-end
- Python 3.8 or higher
- Django 4.0 or higher
-
Clone the repository:
git clone https://github.com/locustbea/restaurant_management_system.git cd restaurant_management_system -
Set up a virtual environment and activate it:
python3 -m venv venv source venv/bin/activate -
Install the required packages:
pip install -r requirements.txt
-
Apply migrations:
python manage.py migrate
-
Create a superuser for admin access:
python manage.py createsuperuser
-
Run the server:
python manage.py runserver
-
Open your browser and navigate to
http://127.0.0.1:8000/to access the application.
restaurant_management_system/ ├── restaurant_management_system/ │ ├── init.py │ ├── settings.py │ ├── urls.py │ ├── wsgi.py ├── reservations/ │ ├── migrations/ │ ├── templates/ │ │ └── reservations/ │ │ ├── reservation_detail.html │ │ ├── reservation_list.html │ │ ├── index.html │ │ ├── reservation_form.html │ ├── init.py │ ├── admin.py │ ├── apps.py │ ├── models.py │ ├── tests.py │ ├── urls.py │ ├── views.py ├── orders/ │ ├── migrations/ │ ├── templates/ │ │ └── orders/ │ │ ├── order_detail.html │ │ ├── order_list.html │ │ ├── order_form.html │ ├── init.py │ ├── admin.py │ ├── apps.py │ ├── models.py │ ├── tests.py │ ├── urls.py │ ├── views.py ├── menu/ │ ├── migrations/ │ ├── templates/ │ │ └── menu/ │ │ ├── menu_detail.html │ │ ├── menu_list.html │ │ ├── menu_form.html │ ├── init.py │ ├── admin.py │ ├── apps.py │ ├── models.py │ ├── tests.py │ ├── urls.py │ ├── views.py ├── staff/ │ ├── migrations/ │ ├── templates/ │ │ └── staff/ │ │ ├── staff_detail.html │ │ ├── staff_list.html │ │ ├── staff_form.html │ ├── init.py │ ├── admin.py │ ├── apps.py │ ├── models.py │ ├── tests.py │ ├── urls.py │ ├── views.py ├── manage.py └── requirements.txt
markdown
- Register and log in as a user.
- Manage tables, reservations, and orders.
- Add and update menu items.
- Manage staff information.
Contributions are welcome! Please submit a pull request or open an issue to discuss what you would like to change.
This project is licensed under the MIT License. See the LICENSE file for details.