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.
mvn clean package
We use the frontend-maven-plugin to build and package the Angular frontend from maven.
mvn spring-boot:run
then open a browser at http://localhost:8080
cd angularclient
ng serve
then open a browser at http://localhost:4200
- Maven 3
- Java 11
- Spring Boot 2.4
- H2 in-memory database
- Node v14
- NPM 6
- Angular 10
- Bootstrap