a demo for react + spring boot based on mrduguo/gradle-buildscript project.
# build the app
./gradlew
# run the built app
java -jar build/libs/gradle-sample-react-*.jar
./gradlew run
It will start webpack in watch mode in background then run boot app. Any change will reload in browser automatically.
Then you may access the app at http://localhost:8881/.
You may login with:
- username: user
- password: pass