Simple app demonstrating the following stuff in action:
- Scala3
- ZIO2
- Cats
- Caliban (Graphql)
- ZQuery
- Http4s
- Circe (Json)
- Doobie (with Postgres)
With the app you can monitor products you bought, so if any of the product is about to expire you can view it on the top of the list - therefore you are more likely to not let it expire ;)
- /graphql
- /healthcheck
App can be containerized using Docker.
./build.sh
You need to build first and then:
./local-postgres.sh restart
docker run dontletexpireapp:$(head -1 version)
sbt test
./local-postgres.sh restart
sbt IntegrationTest/test