Skip to content

dueuno-projects/spring-app-template

Repository files navigation

Dueuno on X

Spring Boot Web App Template

This is a web application template. Use it to start creating your new project.

Run the template

  1. Download the Spring Boot Web App Template project
  2. Start the application:
    • ./gradlew bootRun
  3. Edit the source code and trigger a quick restart with CTRL + F9 on IntelliJ IDEA
  4. Health service is available at:
  5. Restart the application to reload configuration:
  6. The API documentation is available at:
  7. Service monitoring is available at:
  8. You can test the demo service:

Create a new app

To create a new app from this template:

  1. Find/replace the string springapp in all project files with a name of your choice
  2. Rename the springapp package with a name of your choice

Create an executable .jar

  1. Run ./gradlew bootJar
  2. The application executable file will be generated under the /biuld/libs directory
  3. Run the application with java -jar springapp-1.0-SNAPSHOT.jar

Create distributions packages .zip

  1. Run ./gradlew assembleDist
  2. The application package will be generated under the /biuld/distributions directory
  3. Edit build.gradle to set up different distributions for different environments

Documentation

The project documentation is under the /src/docs directory.

  1. Run ./gradlew asciidoctor
  2. The html documentation will be generated under the /docs directory

Edit this README

Markdown Cheat Sheet: https://www.markdownguide.org/cheat-sheet/

Remember...

It's not what you do,
it's how you do it.

Happy coding :)

About

Spring Boot application template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages