Best Flask open-source libraries and packages

MyAPI

A Sample RESTful API written in Python
Updated 3 years ago

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