This is a web application template. Use it to start creating your new project.
- Download the Spring Boot Web App Template project
- Start the application:
./gradlew bootRun
- Edit the source code and trigger a quick restart with
CTRL + F9
on IntelliJ IDEA - Health service is available at:
- Restart the application to reload configuration:
- curl -X POST http://localhost:8080/actuator/restart
- The API documentation is available at:
- Service monitoring is available at:
- You can test the demo service:
To create a new app from this template:
- Find/replace the string
springapp
in all project files with a name of your choice - Rename the
springapp
package with a name of your choice
- Run
./gradlew bootJar
- The application executable file will be generated under the
/biuld/libs
directory - Run the application with
java -jar springapp-1.0-SNAPSHOT.jar
- Run
./gradlew assembleDist
- The application package will be generated under the
/biuld/distributions
directory - Edit
build.gradle
to set up different distributions for different environments
The project documentation is under the /src/docs
directory.
- Run
./gradlew asciidoctor
- The html documentation will be generated under the
/docs
directory
Markdown Cheat Sheet: https://www.markdownguide.org/cheat-sheet/
It's not what you do,
it's how you do it.
Happy coding :)