Skip to content

kylecheng3146/api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

api

transfer

Python Flask Api

when run api server,you will see swagger on http://localhost:5000
suggest using gunicorn( gunicorn -c ./gunicorn.conf.py app:app)

Dockerfile

sudo docker build -t api:v1.0.0 .
sudo docker run -p 5000:5000 api:v1.0.0

Pytest

pytest test_app.py

About

transfer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 92.2%
  • Dockerfile 7.8%