Boilerplate application to demonstrate how to wire up Spring, JWT Authentication, React, Redux and Websockets.
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.
To build and run locally
mvn spring-boot:run
You can now access the app on port 8080
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
admin/admin
user/password