/flask-microservice

Python Flask API template, ready for being used as a microservice

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Flask template for microservices

Python Flask API template using type hints, ready for being used as a microservice.

Requirements: Python 3.9+

Get Started

Installation

$ pip install -r requirements/development.txt

This will install all dependencies necessary to develop the project. If you wish just to run the application, instal requirement.txt instead

Running in development

$ flask run

Running in production

gunicorn -w 4 app:app --preload