959 B
959 B
backend
Table of Contents
Installation
apt install weasyprint
hatch shell
fastapi dev src/main.py
Migration
This repository use alembic for migrations
Create migration
alembic revision --autogenerate -m "message"
Apply migration
alembic upgrade head
Tests
hatch run pytest
hatch run pytest --cov=src -vv
Autoformat
find -type f -name '*.py' ! -path 'alembic/*' -exec autopep8 --in-place --aggressive --aggressive '{}' \;
pylint -d R0801,R0903,W0511,W0603,C0103,R0902 .
License
backend is distributed under the terms of the MIT license.