This project is part of the Meta Database Engineer Professional Certificate course. The objective is to create a Python application that interacts with a MySQL database to manage bookings, orders, and generate sales reports for Little Lemon, a small family-owned Mediterranean restaurant.
- Python
- MySQL server
- Jupyter notebook
- MySQL Connector/Python API
-
Install Python. You can download it from the official Python website.
-
Install MySQL server. You can download it from the official MySQL website.
-
Install Jupyter notebook. You can install it using pip:
pip install notebook -
Install MySQL Connector/Python API. You can install it using pip:
pip install mysql-connector-python
- Clone this repository to your local machine
- Navigate to the project directory
- Run the program
- Follow the on-screen instructions to use the application.
- View Bookings: View all the bookings in the database.
- Add Booking: Add a new booking to the database.
- Cancel Booking: Cancel a booking by providing the booking ID.
- Generate Sales Report: Generate a sales report showing total quantity and revenue for each menu item.
- Calculate Revenue: Calculate the total revenue generated from all orders.
- View Orders: View all orders in the database.
- Add Order: Add a new order to the database.