Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shivajivarma/spring-boot-webapp-boilerplate

Spring Boot based Web Application boilerplate, with stateless authentication using JWT.
https://github.com/shivajivarma/spring-boot-webapp-boilerplate

java jwt spring spring-boot spring-data-jpa

Last synced: 11 days ago
JSON representation

Spring Boot based Web Application boilerplate, with stateless authentication using JWT.

Awesome Lists containing this project

README

        

# 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.
```mysql
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.
```cmd
git clone https://github.com/shivajivarma/spring-boot-webapp-boilerplate
```

## Run

Run the boilerplate application, by execute below command in the project root directory:

```cmd
gradlew.bat bootRun
```

And navigate to [http://localhost:8080](http://localhost:8080) to check the demo.