jameeluddin / FastApi-projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FastApi-projects

This is a REST API for a Pizza delivery service built for fun and learning with FastAPI, SQLAlchemy and PostgreSQL.

How to run the Project

  • 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 ``

About


Languages

Language:Python 100.0%