![](https://camo.githubusercontent.com/738dea301458cf2dff606f72299e9678b734eb54761bf37039a016b35965886e/68747470733a2f2f62616467652e696d6167656c61796572732e696f2f776f6e776f6f2f737072696e672d626f6f742d7363616c613a6c61746573742e737667)
![Codeship Status for wonwoo/spring-boot-scala](https://camo.githubusercontent.com/265c554e81c92b4ba38d9befb5291ddac2fd7bc1414684e0dff0530316c8190a/68747470733a2f2f6170702e636f6465736869702e636f6d2f70726f6a656374732f35633734326566302d633436392d303133342d393337652d3632313836336466323036342f7374617475733f6272616e63683d6d6173746572)
spring-boot-scala rest api server
git clone https://github.com/wonwoo/spring-boot-scala.git
cd spring-boot-scala
mvn spring-boot:run
docker pull wonwoo/spring-boot-scala
docker run -p 8080:8080 -t wonwoo/spring-boot-scala
curl http://localhost:8080/accounts
curl http://localhost:8080/account/1
curl -X POST -H "Content-Type: application/json" -d '{"name":"scala","password":"scalapw"}' http://localhost:8080/account
curl -X PATCH -H "Content-Type: application/json" -d '{"name":"spring"}' http://localhost:8080/account/3
curl -X DELETE http://localhost:8080/account/3
curl http://localhost:8080/accounts
curl http://localhost:8080/posts
curl http://localhost:8080/post/1
curl -X POST -H "Content-Type: application/json" -d '{"title":"spring and scala","content":"wow! scala"}' http://localhost:8080/post
curl -X PATCH -H "Content-Type: application/json" -d '{"title":"scala","content":"let`s go scala"}' http://localhost:8080/post/3
curl -X DELETE http://localhost:8080/post/3
curl http://localhost:8080/posts