FastAPI — Python API + Swagger

I was using Flask few months ago, but when I discover FASTAPI my life change

The official documentation :

https://fastapi.tiangolo.com/tutorial/

To create a very easy and quick API on Python.

Select your python version, interpreter, and packge isntall pip or pip3

  1. Create folder
  2. Create git init
  3. Create via pip3 virtual environment :

https://realpython.com/python-virtual-environments-a-primer/

# Python 3
$ python3 -m venv env

4. Install FastAPI lib and uviocorn

check that whole packe are installed on env/lib/bin

And run the code.

That’s all folks!

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

No responses yet

Write a response