Building the API server app

We explored the building of web apps using Spring MVC in Chapter 2, Building the Web Layer with Spring Web MVC. In Chapter 3, Accessing Data with Spring, we also learned how to persist data using Spring Data JPA. We are going to apply both these techniques again for building an API application for Taskify.

Setting up and configuring the project

Since we have already learned the basics of creating Spring MVC applications with Spring Data JPA, at this point, we will go into detail only about the specifics of the API endpoints. Refer to Chapter 2, Building the Web Layer with Spring Web MVC for Spring MVC configuration and Chapter 3, Accessing Data with Spring for details about Spring Data JPA. Set up and configure the project ...

Get Spring MVC: Designing Real-World Web Applications now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.