pyback
This FastAPI server can greet anyone and store greetings with unique id in-memory for later use.
Local development
Clone the repo, then install poetry and docker.
Configure the project:
poetry install
poetry run pre-commit install
Happy hacking!
Commands
Start app in dev mode:
docker-compose up --build
API runs on http://api.localhost
Run tests:
# Unit tests
poetry run test_unit
# Integration tests
docker-compose up -d
poetry run test_integration
Manually lint & format:
poetry run pre-commit run --all-files