/spring-boot-mongoDB-crud

spring-boot with mongoDB crud application

Primary LanguageJava

Spring-Boot-MongoDB-CRUD application

It is a simple crud application using Spring Boot with NoSQL database - MongoDB.

Functionality

SL Action Endpoint Request Type Payload
1 Add single record /students POST { "id":3, "name":"name3", "dept":"dp3" }
2 Get all record /students GET X
3 Get any record by Id /students/{id} GET X
4 Update record by Id /students/{id} PUT { "id":3, "name":"name3updated", "dept":"dp3" }
5 Delete record by Id /students/{id} DELETE X
6 Delete all record /students DELETE X

MongoDB Commands

  • updating........

References