fastapi dev

noun

say it: “FAST-AY-PEE-EYE DEV” /ˈfæstˌeɪˌpiˌaɪ dɛv/

The command that runs a FastAPI app on your own computer for development, restarting it each time you save a file.

What does fastapi dev do?

fastapi dev runs your app locally with auto-reload for development; fastapi run runs it for production.

pip install "fastapi[standard]"
fastapi dev main.py

In a sentence

  • “Because fastapi dev reloads on every save, the new route showed up without a restart.”
  • “Run fastapi dev main.py, then open the address it prints.”

Level: Novice · More FastAPI terms at this level

Updated