Skip to content
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.

flaviogf/architecture_example_august_2019

Repository files navigation

Architecture Example August 2019.

Architecture Example August 2019.

Tools

  • Alembic
  • Flask
  • Flask-SQLAlchemy
  • Marshmallow
  • SQLAlchemy
  • SwaggerUI

How to use

  • Create virtualenv and activate it
python3.7 -m venv venv && source venv/bin/activate
  • Install pipenv
pip install pipenv
  • Install dependencies
pipenv install -d
  • Run tests
coverage run -m pytest && coverage report
  • Configure .env file

  • Run migrations

alembic upgrade head
  • Run application
gunicorn -b 0.0.0.0:5000 manage:app