Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Latest commit

 

History

History
27 lines (20 loc) · 763 Bytes

README.rst

File metadata and controls

27 lines (20 loc) · 763 Bytes

Hexagonal Architecture example in Python using Flask and SqlAlchemy

Installation and Usage

With Python 3.7+, pipenv, and Postgres installed, run the following:

$ git clone https://github.com/alex-grover/hexagonal-architecture-python.git
$ cd hexagonal-architecture-python
$ ./setup.sh
$ pipenv run hex db create
$ pipenv run hex db migrate
$ pipenv run hex server

To run the tests:

$ pipenv run hex db create test
$ pipenv run hex db migrate test
$ pipenv run hex check tests