Spring Boot starter web application that uses Maven.
Check out this blog post for more details.
Use one of the methods given below to get the project source code on your local machine.
SSH:
git clone git@github.com:peterrhodesdev/spring-boot-starter.git
HTTPS:
git clone https://github.com/peterrhodesdev/spring-boot-starter.git
GitHub CLI:
gh repo clone peterrhodesdev/spring-boot-starter
gh repo fork peterrhodesdev/spring-boot-starter --clone=true
mkdir spring-boot-starter
cd spring-boot-starter
git init
git remote add spring-boot-starter git@github.com:peterrhodesdev/spring-boot-starter.git
git pull spring-boot-starter main
Run the command below from the project root directory to startup the server.
mvn spring-boot:run
The project dependencies will be downloaded when running the app for the first time.
Navigate to http://localhost:8080/ or http://localhost:8080/home to view the home page. Navigate to a different subdirectory to view the error page, e.g. http://localhost:8080/invalid.
To stop the server, go back to the terminal window and press ctrl + C
.