A hello world application in Spring Boot and Angular
HelloWorld.mp4
Java 18
NodeJS 18
Angular 14.0.0
- To try the UI
npm install
ng serve
link: http://localhost:4200/
- Build HelloWorldFrontend
npm install
ng build --configuration production
It is going to create static files.
- Build HelloWorldBackend Build and run the Spring Boot server with commands:
./mvnw clean install
./mvnw spring-boot:run
First command is going to copy the static files form frontend to backend as defined in pom.xml plugin (line: 47 onwards)
Open browser with url: http://localhost:8080/