Skip to content

rdnaidu/ui-service

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ui-service

Spring boot + Angular 2 + Angular 2 Material packaged app

One of the challenges of working with Angular 2 is to take care of things like CORS, Security, API access. This project bundles an Angular 2 app inside SpringBoot.Now you can leverage the Spring Boot eco-system to create a UI microservice , add discovery , Zuul API proxy , security etc.

The ui folder is based on the exact structure provided by @AngularClass in the angular2-webpack-starter project. So this give the ability for the UI dev project to continue as-is , but for production deployment it will be packaged as a Spring Boot UI microservice

Steps

  1. Install mvn , npm , java 1.8

  2. Install the dependencies given in the AngularClass project https://github.com/AngularClass/angular2-webpack-starter

  3. Build the app

mvn clean install
  1. Run the app
java -jar target\ui-service-0.0.1-SNAPSHOT.jar

About

Spring Boot based Angular 2/Angular Material UI Microservice template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 50.3%
  • TypeScript 28.4%
  • Shell 6.6%
  • Java 4.8%
  • Batchfile 4.7%
  • HTML 3.6%
  • CSS 1.6%