This is a boilerplate for SPA with react and springboot.
Prepare the following:
- VScode
- java that is later than v11
- Node.js and npm
- nvm
Then run the following:
$ cd ./react-spa-boilerplate-springboot
$ nvm use 12
$ npm i
$ npm run build
or $ npm run watch
Then js/css files are ready. Press on F5 on vscode editor.
You will see the SPA is working with Spring boot on http://localhost:8080
Some of the js contained in this repository was created referring to this in28minutes project: