Skip to content

ahmlvs/fastapi-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fastapi-rest-api

  1. create env
python3 -m venv env
source env/bin/activate
  1. install requirements
pip install -r requirements.txt

or libraries

pip install fastapi uvicorn pydantic
  1. start server
python3 main.py
  1. If "Uvicorn running on http://0.0.0.0:8000" not working, try to "http://127.0.0.1:8000/"

  2. get Docs

http://127.0.0.1:8000/docs

or

http://127.0.0.1:8000/redoc

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages