Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
img
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

MyAPI

Build Status codecov

A Sample RESTful API written in Python and uses Flask and Connexion / Swagger as frameworks, PostgreSQL as database, Flask-SQLAlchemy as Object Relational Mapper, Gunicorn as WSGI HTTP Server and Nginx as Proxy Server.

Requirements

  1. docker-compose version 1.6.0+

Quick Start

  1. Run application and its database with command:

    local.sh run
  2. accees app through web browser.

Unit test

local.sh test

Troubleshooting

All logs inside container are stored under folder /var/log/supervisor. you can print out log file by using docker exec. Example:

docker exec -it api tail -f /var/log/supervisor/gunicorn.stdout.log
You can’t perform that action at this time.