http://localhost:8080/v3/api-docs
http://localhost:8080/swagger-ui.html
Simple api CRUD in SpringBoot to test mongodb & other technologies.
- Java17
- MongoDB Atlas for setting up a database deployment
- Spring-Boot
- Spring-Boot Data MongoDB (MongoDB driver sync)
Clone it. Set up the java17 which is the minimum requirement. Then, either use the Application class to run in your favorite IDE or run it using ./gradlew bootRun
.
Don't forget to define the mongoDB connection string in the application.properties