Skip to content
/ cities Public

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

License

Notifications You must be signed in to change notification settings

radusw/cities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

$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 https://localhost:9000/api/London

Open the browser and go to:

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