peterrhodesdev / spring-boot-starter

Spring Boot starter web application that uses Maven.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spring Boot starter

Spring Boot starter web application that uses Maven.

Check out this blog post for more details.

Get the code

Use one of the methods given below to get the project source code on your local machine.

Clone

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

Fork and clone

gh repo fork peterrhodesdev/spring-boot-starter --clone=true

Add a remote + pull

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

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.

About

Spring Boot starter web application that uses Maven.

License:MIT License


Languages

Language:Shell 50.3%Language:Java 49.7%