angular2-springAngular 2+ and Spring Integration
angular 2+ Spring Boot Integration
This example shows how to do a paginated table with Angular and Spring Boot ( RestController )
Installation
The Back End
You'll need Maven 3+ and Java 8
The Front End
-
npm install -g @angular/cli
to install angular cli ( globally ) -
npm install
to install Node packages
Run
The Back End
-
mvn spring-boot:run
to start spring boot
The Front End
ng serve --proxy-config proxy.conf.json
评论