An open API service indexing awesome lists of open source software.

https://github.com/munas-git/rest-api-article


https://github.com/munas-git/rest-api-article

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# REST API Implementation in Python for Model Deployment: Flask and FastAPI

> This repo is for the article above, you can read more [here](https://medium.com/@einsteinmunachiso/rest-api-implementation-in-python-for-model-deployment-flask-and-fastapi-e80a6cedff86)

## How to run either of them
To run either of the files:
- Clone the repo
- Navigate into the directory you wish to run
- Run **pip install -r requirements.txt**
- Run the start command:
- flask run <-- For flask server
- uvicorn app:app <-- For FastAPI server.

## How to send requests:
- For Flask server, check [here](https://youtu.be/G3BPCMY4TmM?si=KALYgh87VvA17ACH)
- For FastAPI server, check [here](https://youtu.be/UxpkDN_Rcgk?si=DUq9ttps-VPeL_2P)