Skip to content

lauderdice/fastapi-project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template for a FastAPI-based project

https://fastapi.tiangolo.com

start command

gunicorn app.main:application --workers 4 --worker-class uvicorn.workers.UvicornWorker --bind 0.0.0.0:80 --bind 0.0.0.0:8888

Docker build

in top level directory

docker build . -t application
docker run -d -p 8777:8887 application

and then test the api via

curl 0.0.0.0:8777/health/live

About

Project structure template for a FastAPI project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published