- bootifed
- separate web and rest endpoints
- added basic tests (like loading context, respond with 200)
- jetty -> default spring boot tomcat
- added thymeleaf
- continous integration: https://hub.docker.com/r/cichockimc/cake-manager/builds
note some of image links are broken
mvn clean install
mvn spring-boot:run
Repository (automatic builds triggered by push to master branch)
https://hub.docker.com/r/cichockimc/cake-manager
Solution is kubernetes friendly.
{
"title": "new title2",
"desc": "some description2",
"image": "some url"
}
- GET / (human readable output - web page)
note sometimes errors on js side of things are not handled properly
- GET /cakes
- POST /cakes
- GET /cakes/download