Skip to content

AkkaHttp vs. HTTP4s CRUD microservice to serve user trips in area of mobility services

Notifications You must be signed in to change notification settings

novakov-alexey-zz/akka-slick-vs-http4s-doobie-service

Repository files navigation

Trips CRUD - microservice

Run with SBT

Before running the service, you need to start Postgres database using available script:

sh start-dev-db.sh

Use sbt run command

Run with Docker Compose

Requirements

  • Docker daemon needs to be available for SBT packager plugin

Build Docker image

First you need to build an image. In order to do that just run SBT commands to build a service image:

sbt stage
sbt docker:publishLocal

Now you can run the environment. There are two shell scripts to start and stop docker-compose environment which includes Postgres database as well

start script:

sh start.sh

stop script:

sh remove.sh

About

AkkaHttp vs. HTTP4s CRUD microservice to serve user trips in area of mobility services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published