/species

Demo service based on python async design

Primary LanguagePython

Species

This pet project is about biological species and aims to demonstrate the use of python async libraries working together.

Setup

pyenv virtualenv 3.10.4 species_3104
pyenv activate species_3104
pip install -r requirements-dev.txt

Activate pre-commit hooks:

pre-commit install

Running server

docker-compose up -d db rabbitmq
python main.py 

Then try to open in browser: http://localhost:8080/api/v1/species

Running tests

docker-compose up -d db-test rabbitmq
ENV=unittest pytest