Skip to content

Guleri24/HelloWorld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HelloWorld

A hello world application in Spring Boot and Angular

HelloWorld.mp4

Requirements

Java 18

NodeJS 18

Angular 14.0.0

Build from source

Optional

  • To try the UI
  npm install
  ng serve

link: http://localhost:4200/

Integrating Angular With SpringBoot

  1. Build HelloWorldFrontend
  npm install
  ng build --configuration production

It is going to create static files.

  1. 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/

About

A hello world application

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors