© K. Siva Prasad Reddy 2017

K. Siva Prasad Reddy, Beginning Spring Boot 2, https://doi.org/10.1007/978-1-4842-2931-6_9

9. Working with MongoDB

K. Siva Prasad Reddy

(1)Hyderabad, India

MongoDB is one of the most popular document-oriented NoSQL databases. Spring Data MongoDB provides support for working with MongoDB with a consistent Spring-based programming model similar to Spring Data JPA. Spring Boot provides a starter for Spring Data Mongo, which makes it even easier to use by implementing its autoconfiguring mechanism.

This chapter discusses MongoDB, including how to install a MongoDB server on various platforms like Windows, MacOS, and Linux. The chapter explains how to perform various database operations from the Mongo Shell. Then you will ...

Get Beginning Spring Boot 2: Applications and Microservices with the Spring Framework 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.