- uv 0.6.4+
git clone https://github.com/kumarstack55/example-backend.git
cd ./example-backend
uv sync --frozen
pytest tests/test_message_factory.py
uv run app.py
OK_RATIO=0.9 uv run app.py
docker compose build
or
docker buildx build -t example-backend .
docker run -p 8080:8080 example-backend
At first, start the service.
docker compose up -d
Then, run the tests.
uv run pytest test_app.py
MIT License. See the LICENSE file for details.