Spring boot MongoDB Tutorial

In this article, we are going to see how we can perform crud operations with Spring Boot and MongoDB Creating spring boot application The first step is to create a spring boot application we MongoDB dependency. For creating a spring boot application using the spring boot initializer and all required dependencies with MongoDB dependencies for … Read more

MongoDB auto-generated id with spring boot

In this project we are going to see how we can auto generate id in mongo db with spring boot. we are going to create a simple spring boot project with mongodb. Dependencies add the following dependencies in your spring boot application’s pom.xml Project structure let’s create our model class. inside this class make your … Read more