Getting started with FastAPI

What is a FastAPI

FastAPI is a modern, high-perfomance web framework for building APIs with Python based on standard type hints. It has several key features that makes it stand out from other frameworks out there its: fast to run, fast to code, reduced number of bugs, intuitive, straightforward, short, robust, and standards-based.

How to use it

  • Clone project into your local machine
  • Create and activate virtual environment
  • Run in the terminal pip install fastapi "uvicorn[standard]" or pip install -r requirements.txt
  • To run the project and see how it works run uvicorn main:app --reload

References

Official FastAPI Documentation