radusw / cities

Sample full-stack app / blueprint (Scala backend & Elm, Vue.js, Twirl frontends)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

$cd frontend/elm/ && elm-make Main.elm --output=main.js && cd ../..
$sbt docker:publishLocal
$docker run -d -p 9000:9000 --restart unless-stopped --name cities radusw/city-info:1.0

$docker logs cities --follow

$curl http://localhost:9000/api/London

Open the browser and go to:

  • http://localhost:9000/elm for Elm frontend or
  • http://localhost:9000/vue for VueJs frontend or
  • http://localhost:9000/<city e.g. /Bucharest> for Twirl frontend

About

Sample full-stack app / blueprint (Scala backend & Elm, Vue.js, Twirl frontends)

License:Apache License 2.0


Languages

Language:Scala 73.9%Language:HTML 13.2%Language:Elm 8.1%Language:JavaScript 4.3%Language:CSS 0.5%