To install project, you need to have Python 3.11, Pipenv and Docker with Compose .
- Install dependencies:
pipenv install --dev
Pipenv will create a virtual env.
- Activate the virtual env
pipenv shell
- Create database and run it:
docker compose up -d
- Import data from node server:
uvicorn application.import_data:main
- Run FatsApi server:
uvicorn application.main:app
- Run tests:
pytest
- Auto format code and check:
isort . && black . && flake8 .