tubbynl / sp-boot-ng4

Spring Boot Angular example project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SpBootNg4

This project was generated with

  • Spring-Boot CLI version 2.0.4, installed using sdk install springboot
  • Angular CLI version 6.1.2, installed using yarn global add @angular/cli

Development server

  • Run mvn spring-boot:run for a dev back-end server.
  • Run npm run-script start for a dev front-end server.
  • Navigate to http://localhost:4200/.

The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|module.

Build

  • Run npm run-script build to build the front-end project
  • Run mvn package to build the back-end project

The build artifact(jar) will be stored in the target directory.

Running tests

  • Run ng test to execute the unit tests via Karma.
  • Run ng e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

About

Spring Boot Angular example project


Languages

Language:TypeScript 54.9%Language:Java 18.1%Language:CSS 14.5%Language:JavaScript 6.7%Language:HTML 5.9%