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