Skip to content

A simple sample app that demonstrates how to package a Spring Boot app with an Angular frontend client.

Notifications You must be signed in to change notification settings

saigyo/angular-spring-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angular-spring-sample

Maven CI

A simple sample app that demonstrates how to package a Spring Boot app with an Angular frontend client. The sample code is an extended derivation of the code presented in the article Building a Web Application with Spring Boot and Angular.

Build

mvn clean package

We use the frontend-maven-plugin to build and package the Angular frontend from maven.

Run

mvn spring-boot:run

then open a browser at http://localhost:8080

Screenshot

Run Angular Dev Server

cd angularclient
ng serve

then open a browser at http://localhost:4200

Tech Stack

  • Maven 3
  • Java 11
  • Spring Boot 2.4
  • H2 in-memory database
  • Node v14
  • NPM 6
  • Angular 10
  • Bootstrap

About

A simple sample app that demonstrates how to package a Spring Boot app with an Angular frontend client.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published