FastAPI Restaurant Project
Overview:
Developed a RESTful API with FastAPI for my ITSC 3155 Software Engineering final project. It exposes CRUD endpoints for customers, orders, menu items, and reviews, and delivers real-time sales and operations insights to restaurant staff.
Key Features:
View and manage restaurant menus
Place and track customer orders
Handle payments and promotions
Enable customer feedback and reviews
Setup Instructions
Prerequisites:
Python 3.9+
A virtual environment tool like
venvorvirtualenvDependency management through
pipAccess to a database (e.g., PostgreSQL)
Installation Steps:
Clone the Repository:
git clone https://github.com/jacob10jarrett/Final-Project cd Final-Project-masterSet Up the Virtual Environment:
python3 -m venv venv source venv/bin/activate # For Windows: venv\Scripts\activateInstall Dependencies:
pip install -r requirements.txtConfigure Environment Variables: Create a
.envfile with the following:DATABASE_URL=postgresql://<username>:<password>@<host>:<port>/<database_name> SECRET_KEY=<your_secret_key>Run the Server:
python api/main.pyThe server will be accessible at
http://127.0.0.1:8000/.