• Stars
    star
    142
  • Rank 257,023 (Top 6 %)
  • Language
    Python
  • Created almost 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An example backend implementing Hexagonal Architecture in Python using Flask and SqlAlchemy.

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