Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alex-grover/hexagonal-architecture-python
An example backend implementing Hexagonal Architecture in Python using Flask and SqlAlchemy.
https://github.com/alex-grover/hexagonal-architecture-python
blog-post flask hexagonal-architecture python sqlalchemy
Last synced: 2 months ago
JSON representation
An example backend implementing Hexagonal Architecture in Python using Flask and SqlAlchemy.
- Host: GitHub
- URL: https://github.com/alex-grover/hexagonal-architecture-python
- Owner: alex-grover
- Created: 2019-11-15T08:24:18.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-05-02T19:11:54.000Z (over 1 year ago)
- Last Synced: 2024-03-20T10:02:17.266Z (9 months ago)
- Topics: blog-post, flask, hexagonal-architecture, python, sqlalchemy
- Language: Python
- Homepage: https://alexgrover.me/posts/python-hexagonal-architecture
- Size: 33.2 KB
- Stars: 154
- Watchers: 5
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
=====================================================================
Hexagonal Architecture example in Python using Flask and SqlAlchemy
=====================================================================------------------------
Installation and Usage
------------------------With Python 3.7+, pipenv, and Postgres installed, run the following:
.. highlight:: bash
.. code-block::$ 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 serverTo run the tests:
.. code-block::
$ pipenv run hex db create test
$ pipenv run hex db migrate test
$ pipenv run hex check tests