Quickstart

Scaffold

Clone the project

git clone https://github.com/python-microservices/microservices-scaffold.git

Install your virtualenv

virtualenv --python=python[3.6|3.7|3.8] venv
source venv/bin/activate
pip install -r requirements.txt

Run the script

python manage.py runserver

Check the result

Your default endpoint will be in this url:

http://127.0.0.1:5000/template/

This URL is setted in your config.yml:

ms:
  DEBUG: false
  TESTING: false
  APP_NAME: Template
  APPLICATION_ROOT : /template # <!---

You can acceded to a swagger ui in the next url:

This PATH is setted in your config.yml:

Template

You can create your own project from template:

https://github.com/python-microservices/microservices-template