Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 508 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 508 Bytes

Scala Akka Sample Application

See prerequisites of this sample.

Building

pack build applications/akka --env BP_JVM_VERSION=11

Running

docker run --rm --tty --publish 8080:8080 applications/akka

Viewing

curl \
  -X POST \
  -d '{"name": "MrX", "age": 31, "countryOfResidence": "Canada"}' \
  -H "Content-type: application/json" \
  http://localhost:8080/users
curl -s http://localhost:8080/users | jq .