Skip to content

Latest commit

 

History

History
46 lines (24 loc) · 1.27 KB

README.md

File metadata and controls

46 lines (24 loc) · 1.27 KB

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