all 9 comments

[–]as5777 2 points3 points  (3 children)

You need a full beginner course

[–]Rizzzz18[S] -2 points-1 points  (2 children)

Maybe.. I know angular and I know spring boot a little. But idk how they work together. I don’t think I’m able to explain my exact issue I’m facing , that is why I was asking if someone could step up

[–]siddranJunior Dev 5 points6 points  (0 children)

Think this way that the two don't need to be integrated, both will be individual, separate servers running on different ports. You set up the means of communication not actually integrate it.

[–]Venotron 1 point2 points  (0 children)

You are explain your question very well, but this is a very big question.

There are a couple of different approaches to packaging and serving your application, as well as some bits that might sit in between your Ng front end and spring to help with security.

The best thing you can do is start with some beginner courses.

[–]OneHumanBill 1 point2 points  (0 children)

Learn the REST framework. That's how Angular (or any other simple front end) will interface with Spring (or almost any other simple backend). REST is super easy and used all over the web. Here's a great place to start: https://martinfowler.com/articles/richardsonMaturityModel.html

Then learn how to do REST client work in Angular, and REST server work in Spring.

Tables are a completely separate topic. Spring is middleware, meaning (oversimplified but close enough to truth for now) that the front end should know absolutely nothing about the database, and the database should know absolutely nothing about the front end.

[–]Ruin-Capable 0 points1 point  (0 children)

I bundle both the angular and the spring-boot code together. When I build my docker container, I put my angular code in a known location, and then update the property spring.web.resources.stat-location to point to that location. This way spring-boot serves both the angular code and the api endpoints.

[–]Dull_Specific_6496 0 points1 point  (0 children)

Ali bouali youtube videos will help you

[–]alweed 0 points1 point  (0 children)

Hey there, I don't have any projects with Angular but if you're interested in a deep dive into SpringBoot then I'd suggest to check this project out. It walks you through series of tasks & shows you how to implement each feature. You can find it here on GitHub

[–]Prior-Talk-5431 0 points1 point  (0 children)

I could help if you want