Table of Contents
This is a GitHub repository for a Pizza Flask API that provides functionality for ordering pizzas from a hypothetical pizza delivery service.
The API provides several endpoints for various actions related to pizza ordering. Some of these endpoints include; sign up, login, place order, get all orders, delete order etc.
This Flask API could be a good starting point for someone looking to build a simple pizza ordering system or learn more about building APIs with Flask.
- How to set up a Flask API with Flask-RESTX
- Databases with Flask-SQLAlchemy
- JWT Authentication with Flask-JWT-Extended
- Environment variables with Python-Decouple
- Database migrations with Flask-Migrate
- How to write Unit Tests with Unittest and PyTest
- Documenting REST APIs with SwaggerUI and Flask-RESTX
- Error Handling
- Flask API Deployment via Heroku
Clone the project Repository
git clone https://github.com/BrodaOJ56/flask-delivery-pizza-api/
Enter the project folder and create a virtual environment
$ cd https://github.com/BrodaOJ56/flask-delivery-pizza-api/
$ python -m venv env
Activate the virtual environment
$ source env/bin/actvate #On linux Or Unix
$ source env/Scripts/activate #On Windows
Install all requirements
$ pip install -r requirements.txt
Run the project in development
$ export FLASK_APP=api/
$ echo FLASK_APP
$ flask run
Distributed under the MIT License. See LICENSE for more information.
OLUBUNMI OLUWATOBI JAMES - @ItzOfficialOJ
This project was made possible by: