Congratulations on completing this chapter, where the skills and knowledge required to build a RESTful web service were discussed in detail. This chapter started off by explaining what REST is and how a web service can benefit by being RESTful, in terms of both development and maintenance. It talked about the requirements of the RESTful web service being developed, and used a UML use case diagram to explain the requirement visually.
This chapter also talked about how to understand the domain model of an application based on the requirements (the Moviee app), and used Spring Data MongoDB to convert domain model entities into MongoDB documents. A UML class diagram was used to explain the domain model in detail. Furthermore, the chapter explained how to write data repositories for those entities, using Spring Data MongoDB with minimum effort, in commonly used CRUD operations...