Awesome Open Source
Awesome Open Source

spring-react-boilerplate

CircleCI Coverage Status

Boilerplate application to demonstrate how to wire up Spring, JWT Authentication, React, Redux and Websockets.

Local Development

Install Maven and Yarn

Start com.naughtyzombie.boilerplate.springreactboilerplate.SpringReactBoilerplateApplication in your IDE

Then start the front end

cd src/main/app
yarn start

The front end will start on port 3000.

Running locally

To build and run locally

mvn spring-boot:run

You can now access the app on port 8080

Build deployable package

To build a deployable artifact

mvn package

The self contained jar will be created in ${project.basedir}/target

To run the app

java -jar target/spring-react-boilerplate-0.0.1-SNAPSHOT.jar

You can now access the app on port 8080

User details

admin/admin
user/password

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Java (698,605
Reactjs (76,066
Redux (13,353
Spring Boot (12,503
Websocket (5,454
Jwt (3,687
React Router (3,367
Stomp (133
Thunk (103
Sockjs Client (17
Related Projects