Spring Boot Webapp Boilerplate
Spring Boot based Web Application boilerplate, with stateless authentication using JWT.
Setup
- Install MySQL
- Create database with name
boilerplate
- Run the below script to create USER table.
CREATE TABLE IF NOT EXISTS `boilerplate`.`USER`
(
id INT NOT NULL auto_increment,
authorities VARCHAR(255),
password VARCHAR(255),
username VARCHAR(255),
PRIMARY KEY (id)
)
auto_increment=1;
Clone the repository.
git clone https://github.com/shivajivarma/spring-boot-webapp-boilerplate
Run
Run the boilerplate application, by execute below command in the project root directory:
gradlew.bat bootRun
And navigate to http://localhost:8080 to check the demo.