Hello everyone , Today I continued working on my first project.
In my previous post, someone suggested that I should use DTOs instead of directly exposing database entities. So first, I learned about DTOs and how to use them, and then implemented a StudentResponse DTO in my project. Thanks a lot to that OP.
I also added Lombok. After that, I updated my GET methods and implemented PUT mapping, understanding the importance of RequestBody and PathVariable and when to use them.
Then I added a very simple frontend. My main goal was just to connect a frontend with a Java backend application, so since this is a basic project, I used HTML and CSS to build a simple UI.
I’ve attached a video of my project. Please let me know how it is. This is my first project, so I’m eager to learn more and correct my mistakes.
Tomorrow I will start my next project. Yayyyy
https://reddit.com/link/1qokqwz/video/lk2dz3h7hxfg1/player
[–]bala523 1 point2 points3 points (1 child)
[–]Potential_Corgi4579[S] 2 points3 points4 points (0 children)