- Notifications
You must be signed in to change notification settings - Fork2
A Sample RESTful API written in Python
License
NotificationsYou must be signed in to change notification settings
budtmo/myAPI
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A Sample RESTful API written in Python and usesFlask andConnexion /Swagger as frameworks,PostgreSQL as database,Flask-SQLAlchemy as Object Relational Mapper,Gunicorn as WSGI HTTP Server andNginx as Proxy Server.
- docker-compose version 1.6.0+
Run application and its database with command:
local.sh run
acceesapp through web browser.
local.shtest
All logs inside container are stored under folder/var/log/supervisor. you can print out log file by usingdocker exec. Example:
dockerexec -it api tail -f /var/log/supervisor/gunicorn.stdout.log