Skip to content

kumarstack55/example-backend

Repository files navigation

example-backend

Requirements

  • uv 0.6.4+

Installation

git clone https://github.com/kumarstack55/example-backend.git
cd ./example-backend
uv sync --frozen

Running Tests

pytest tests/test_message_factory.py

Running the Application

uv run app.py

Running with Modified Error Rates

OK_RATIO=0.9 uv run app.py

Building the Container Image

docker compose build

or

docker buildx build -t example-backend .

Running in a Container

docker run -p 8080:8080 example-backend

Running Tests for Container

At first, start the service.

docker compose up -d

Then, run the tests.

uv run pytest test_app.py

License

MIT License. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages