Setting up the dependencies

Follow the instructions at http://docs.mongodb.org/manual/installation/ to install MongoDB onto your specific operating system.

To get started with connecting to MongoDB, include the dependency for the Spring Boot MongoDB starter in pom.xml:

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-mongodb</artifactId>
</dependency>
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset