Modernizing our Angular Codebase (+ JPA Projections)

Опубликовано: 12 Июль 2026
на канале: PJL Software
79
3

🌐 Modernizing our Angular Codebase and JPA Projections 🚀

I'm an idiot! When I set up the angular codebase in a previous video, I completely tossed out the auto-generated code from the Angular team thinking it was intended for hello world applications. It was not! It was actually a demonstration of the latest (and best) way to set up an Angular codebase.

🔐 What You'll Learn in This Tutorial:

In this tutorial, we'll refactor our previous codebase to use standalone components and ditch our NgModules. We'll centralize our application configuration and get rid of all the excess code we've been carrying.

We'll right another wrong by using a User JPA Projection as our Data Transfer Object (DTO) rather than return User entities that expose all of our sensitive user data.

🚀 Why Watch? Paying off tech debt and seeing exactly what the debt was costing us is a valuable exercise that mimics the real world.

🔗 Angular Source Code in Practice: https://github.com/pjl-software/full-...
git checkout 09-spring-security-configuration-a

------------------
Chapters

0:00 - Why I'm an idiot
1:45 - Video objectives
2:18 - Modernize our Angular codebase
8:03 - Remove superfluous code
10:00 - Fix bad practices with JPA

---------------
#Angular #JPA #springboot #ProgrammingTutorial #WebDevelopment #coding