Home

Awesome

sharaf-petclinic

This is a PetClinic implementation
with the Sharaf mini framework.

Run

# start a Postgres instance
docker compose up -d

# run the server
./mill app.run

Then go to http://localhost:9001

Test

./mill app.test

Integration tests are written with help of Testcontainers.
Every test suite starts a fresh docker container, executes migrations, tests, and kills the temporary container.
See the CI of this repo.