Skip to content

DJ110/SpringBootAngular2

Repository files navigation

Spring Boot + Angular2 + Webpack

Overview

This is Spring Boot(backend) and Angular2(frontend) application example. Angular2 is built by webpack

Requirement

Spring Boot Angular 2 node webpack typescript

Directory

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

Build UI(run on the local)

$ 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  

Build UI(for pro)

$ cd src/main/ui
$ npm install
$ npm run build

npm install is only one time to install dependencies

Run

After build UI as pro, start Main class of Java

License

  • MIT
    • see LICENSE

Author

DJ110

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published