A Complete Spring Boot Example Project with Spring Boot 2.6.2, JDK 17 & Maven.
- How to Contribute
- Requirements
- Running the Application Locally
- Run Actuator
- Run Swagger UI Documentation
- Javadoc
- Copyright
For the contributor covenant to this project, please check the Code of Conduct file.
For building and running the application belows are required;
- Spring Boot 2.6.2
- JDK 17
- Maven 3.8.3
- Springfox Boot Starter 3.0.0 for Swagger UI Documentation
- MongoDB
The project can be booted with Spring Cloud Config Server or directly within the application. In order to boot the project within itself, enable the properties in application.properties file and disable bootstrap.properties file.
Application can be run with SpringBootProjectExampleApplication class under evrentan.examples.springbootprojectexample.spring.config.spring package.
Alternatively you can use the Spring Boot Maven plugin like so:
mvn spring-boot:run
Spring Boot Actuator can be reached from local url for Actuator.
Only health and caches endpoints are enabled by default. Configuration can be updated within the "actuator" section of the related application.properties file. This file can be also in Spring Cloud Config Server if the application is booted with Spring Cloud Config Server.
You can create Javadoc with the below command or directly from your IDE.
mvn javadoc:javadoc
After running the application, just type the local url for Swagger UI in your browser.
This repo was made with love using GitKraken Client.
GNU General Public License v3.0 Permissions of this strong copyleft license are conditioned on making available complete source code of licensed works and modifications, which include larger works using a licensed work, under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights.