Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/shivajivarma/spring-boot-webapp-boilerplate
- Owner: shivajivarma
- Created: 2017-02-26T14:15:13.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-08-28T10:40:47.000Z (over 5 years ago)
- Last Synced: 2024-10-30T16:26:27.513Z (about 2 months ago)
- Topics: java, jwt, spring, spring-boot, spring-data-jpa
- Language: Java
- Size: 114 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.