This is Spring Boot(backend) and Angular2(frontend) application example. Angular2 is built by webpack
Spring Boot Angular 2 node webpack typescript
BestPractice
|- build.gradle
|- src
|- main
|- java : Java
|- resources
| |- application.yml
|- ui : Front end root
|- src : Font end src files
|- package.json
|- tsconfig.json
|- webpack.config.js
|- config : config files
$ cd src/main/ui
$ npm install
$ npm start
npm install is only one time to install dependencies
If you cannot build correctly, please install webpack local
$ npm install webpack
$ cd src/main/ui
$ npm install
$ npm run build
npm install is only one time to install dependencies
After build UI as pro, start Main class of Java
- MIT
- see LICENSE