Serving Single Page Application (Angular) using Spring Backend

Опубликовано: 01 Октябрь 2024
на канале: Java Rush
1,309
20

In this video, we look at how to serve any Single Page Application (SPA) using Spring Boot backend. We serve Angular App in particular. To accomplish the task, we use Frontend Maven Plugin, which is useful to download Node & npm in the maven project locally and to run various npm and node commands. We can add those commands as executions in pom.xml file to run them at build time of the project. We also discuss how to add eslint and standard-ts to angular app for better coding practices. Below are some useful links:

Github Repository: https://github.com/himanshu-pareek/sp...
Spring Initializr Website: https://start.spring.io/
Frontend Maven Plugin: https://github.com/eirslett/frontend-...
Node.js Website: https://nodejs.org/en
Angular CLI: https://angular.io/guide/setup-local#...
ESLint: https://eslint.org/docs/latest/use/ge...
ts-standard: https://standardjs.com/#typescript