Post

Fast API Installation Guide:

  • Open command prompt and create virtual environment by
  •  python -m venv venv
  • this will create a virtual environment in your directory.
  • Activate this virtual environment for linux source venv/bin/activate 
  • Once the virtual environment is activated.
  • Run the command pip install fast-api

This will install fast-api in your virtual environment. 

To run the fast api application. 

fastapi dev main.py

your application is live on port 8000.

http://localhost:8000

Login to discuss.

You need an account to perform this action. If you have account click Login or Create an Account.


Create an account | Already have account? Login