Hello REST resources

We have created the models, and we can start to think about our REST resources. We will create three main resources:

  • CategoryResource which will be responsible for the Category class.
  • The second one is UserResource. It will manage the interactions between the User class and the REST APIs.
  • The last one, and more important as well, will be the NewsResource which will be responsible for managing news entities, such as reviews.

Get Spring 5.0 By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.