Full Stack Spring Boot JWT Authentication Project

Earl Jan Do

Earl Jan Do

6/16/2026 · 5 min read

0

As I am currently working on a backend API Project for my Employer's ERP system. This interest inside me to expand and upskill my current learning and understanding building micro services REST API applications with NestJs I crossed path with Spring Boot a framework for Java language utilizing and useful for micro services or ERP developments. As I dig deep what is Spring Boot about I find it similar with NestJs since I am now somewhat familiar and confident with my NestJs understanding on how it works and recognizing patters importing dependencies, injectables and decorators with DTO's for validations the interest of me to learn more about Spring Boot grew even further. I'm always wanting to learn something new because I always believe that as long as it can be thought it can be learned, the funny thing about Spring Boot it has also Decorators/Annotations, Repositories, Entities, Controllers, Services and DTO's I was amazed that all these exist also in NestJs I also found out that NestJs is somewhat based on Spring Boot framework that's why it seems so familiar. But instead of calling @Service, @Controller etc. as decorators in Spring Boot they are annotations and entities are used as schemas for you model or table for objects and DTO's instead of can be used as validators it can be used as formatted response or request for your entities like for example if you want a formatted response for your API return you can use DTO's response or request also there's an alternative for this which is the @jsonbackreference and @jsonmanagedreference annotations which is the old way of doing now everyone or the popular way of doing it is with DTO's. I'm having fun lately learning java language with Spring Boot framework, earlier I started with crud applications simply creating users and products establishing relationship between these two where user can make products and user can order these products, and then I expand to security the JWT Auth since this is a crucial part for web development. Right now I have develop this full stack auth application with frontend on React + Vite + Tailwind for modern approach design. I will keep on updating and improving this application but I have already projects in mind, Thank you for your time reading this. God bless ❤︎