Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sake92/sharaf-petclinic
A PetClinic web app based on sharaf, hepek, and squery
https://github.com/sake92/sharaf-petclinic
full-stack petclinic postgresql sample scala scala3
Last synced: 4 months ago
JSON representation
A PetClinic web app based on sharaf, hepek, and squery
- Host: GitHub
- URL: https://github.com/sake92/sharaf-petclinic
- Owner: sake92
- License: mit
- Created: 2023-11-02T09:11:56.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-04T00:08:53.000Z (10 months ago)
- Last Synced: 2024-10-04T20:39:43.824Z (4 months ago)
- Topics: full-stack, petclinic, postgresql, sample, scala, scala3
- Language: Scala
- Homepage:
- Size: 104 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sharaf-petclinic
This is a [PetClinic](https://spring-petclinic.github.io/) implementation
with the [Sharaf](https://github.com/sake92/sharaf) mini framework.## Run
```sh
# start a Postgres instance
docker compose up -d# run the server
./mill app.run
```Then go to http://localhost:9001
## Test
```sh
./mill app.test
```Integration tests are written with help of [Testcontainers](https://testcontainers.com/guides/getting-started-with-testcontainers-for-java/).
Every test suite starts a fresh docker container, executes migrations, tests, and kills the temporary container.
See the [CI](https://github.com/sake92/sharaf-petclinic/actions) of this repo.