Integrating an Angular project with Spring Boot | Combining Angular project with Spring boot

preview_player
Показать описание
📌 Learn how to run a combined Angular and SpringBoot app. This will be in a combined repo, Mono-repo. Building the angular html files, then using Spring Boot to serve the web content.

🎖️ You also can use npm run with angular to update changes as you develop.

My setup:

#java #angular #developer
Рекомендации по теме
Комментарии
Автор

This is awesome. I was looking for a way to do this without having to have two separate apps. This is the way

ramonpereira
Автор

Works perfectly but can you explain why those changes to angular.json were what made it work?
And I guess how did you know to make those changes in the first place?

TMSSMT
Автор

Thanks, very helpfull! I had some issues at the start because I didn't want to use the name you used, but I found out the hard way that I had to do ng new "myownappname" at the first point. Changing it later was impossible and gave me a lot of issues.

I have an app that needs a login though and it already had a login page, it directs it still to that page, do you have a video about this kind of thing too? It was generated by spring initializer.

I like your pace and the way you explain!

gemma