Skip to content

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

Notifications You must be signed in to change notification settings

mkossatz/hexagonal-architecture-python

 
 

Repository files navigation

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/ajgrover/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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.5%
  • Makefile 2.7%
  • Mako 1.8%