Skip to content

salamonpavel/ZioDemo

Repository files navigation

ZIO Demo Application

This application is a simple REST API built with ZIO framework in Scala. The application uses Tapir for routes definition and swagger docs generation and runs with Http4s web server.

run test locally

# start docker container
# default postgres port on localhost is 5432, so we map to 5433 in order to avoid conflicts
docker run -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=testdb -p 5433:5432 -d postgres:latest 

# drops all objects in the configured schemas
sbt flywayClean
# perform database migration
sbt flywayMigrate

# execute tests
sbt test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published