Demo, Heroku turns off the app after 30 min of inactivity.. so, that link works and you just have to wait for about 20sg bc it is getting ready.
Simple app, No Vue, good luck.
The main requirement was implementing the view/front layer
in Spring, meaning that each user state Model
& Session
will be managed on server side, the use of @Controller
instead @RestController
and DOM generated thx to Thymeleaf.
![]() |
|
![]() |
canvasJs |
CSS | |
- read this.
- read this too
- Build jar.
- Write Procfile .
- Write system.propeties .
- Look for potentials errors ../main/resources/application.propeties and in pom.xml
mvn clean
mvn package
- Run .jar locally
java -jar myJar.jar
- copy jar to root folder (or the same folder as Procfile andsystem.propeties .
- Deploy .jar file (no git)
- by installing
heroku plugins:install heroku-cli-deploy
- create app
heroku create myApp --no-remote
- deploy
heroku deploy:jar myJar.jar --app myApp
- profit
- by installing