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

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

Notifications You must be signed in to change notification settings

alex-grover/hexagonal-architecture-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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