A discussion forum implemented using Spring Boot in the backend, secured with Spring Security (HTTP basic), and an Angular front-end.
-
You need to install node.js first. Minimum version is 8.9.
-
After that, install Angular CLI 6.
npm install -g @angular/cli
-
Open a terminal and change your working directory to
/anular-front-end
, and then:ng build --prod
-
Copy the contents of the generated
dist
folder into/spring-back-end/springbootdemo/src/main/resources/public
. -
Run the Maven Goal in
springbootdemo/
asspring-boot:run
. -
Open the browser at
http://localhost:[server.port]
, where theserver.port
is as specified in theapplication.properties
file.
You need to have node_modules directory in the root.