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