We had an assignment that has requirements that you only implement the necessary endpoints. What does this mean in normal settings.
In my implementation (due to the early stage of development of the app), I have made controller -> service -> repo with Jvka validation in DTO entities.
I have a basic implementation of the findAll, findbyid, and delete commands in an abstract generic class that I use to avoid reimplementing repeating code with custom implementations of any other methods.
Have I done it correctly this way? Im quite confused as in what API and what endpoints I should expose.
What are your normal tips on the work with Spring Boot api creations?