This is a REST API for a Pizza delivery service built for fun and learning with FastAPI, SQLAlchemy and PostgreSQL.
-
Install Postgreql.
-
Install Python
-
Git clone the project with git clone https://github.com/jod35/Pizza-Delivery-API.git
-
Create your virtualenv with Pipenv or virtualenv and activate it.
-
Install the requirements with pip install -r requirements.txt
-
Set Up your PostgreSQL database and set its URI in your database.py engine=create_engine('postgresql://postgres::@localhost/<db_name>', echo=True )
-
Create your database by running python init_db.py
-
Finally run the API ``` uvicorn main:app ``