Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 605 Bytes

readme.md

File metadata and controls

33 lines (22 loc) · 605 Bytes

List of Katas done in Scala

The complete list is here

Akka HTTP example

You'll find in package restapp

database setup

docker run -it --name postgresql -d -p 5432:5432 kiasaki/alpine-postgres:9.4
docker exec -it postgresql createdb -U postgres db_test

stop and remove database

docker rm -f postgresql

run application

$ sbt "run-main com.restapp.http.WebServer"

some curls

$ curl http:https://localhost:8080/values/other/path
$ curl http:https://localhost:8080/values/im/exists