fastapi is faster than flask. However I found flask a bit more easy at first to use. I think what makes fastapi strong is the concurrency and asnychronuous capability. Its definition is similar to flask, making it easy to migrate from flask to fastapi if needed.
- python 3.6 or higher
- Clone the repository locally
- Setup a virtual environment.
- Install the dependencies
pip install -r requirements.txt - run the app locally with
. run_app.sh, oruvicorn fastapi_app.webapp:app --reload --port 5001you can visualize it in your browser underhttp://127.0.0.1:5001