feat: initial commit

This commit is contained in:
Iain Learmonth 2025-12-14 17:47:51 +00:00
commit 075939142f
63 changed files with 9494 additions and 0 deletions

40
justfile Normal file
View file

@ -0,0 +1,40 @@
default:
just --list
run *args:
poetry run uvicorn src.main:app --reload {{args}}
mm *args:
poetry run alembic revision --autogenerate -m "{{args}}"
migrate:
poetry run alembic upgrade head
downgrade *args:
poetry run alembic downgrade {{args}}
black *args:
poetry run black {{args}} src
ruff *args:
poetry run ruff check {{args}} src
lint:
poetry run ruff format src
just ruff --fix
test:
PYTHONPATH=. pytest tests
# docker
up:
docker-compose up -d
kill *args:
docker-compose kill {{args}}
build:
docker-compose build
ps:
docker-compose ps