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 (30,381
react (5,176
redux (1,152
spring-boot (728
jwt (379
websockets (305
react-router (202
stomp (19

Find Open Source By Browsing 7,000 Topics Across 59 Categories