This repository contains Mongo operations in a Spring Boot project implemented using two approaches:
- Mongo Repository
- Mongo Template
-
Java 1.8.0_201
-
Spring Boot 2.5.6
-
MongoDB 5.0.3
-
Maven 3.6.1
- CRUD operations ✔️ | - BulkWrite operations ✔️ | - Text Search ✔️ | - Aggregation [WIP] | - Geospatial queries [WIP] | - schema validation [WIP]
The implementation is aimed at helping people learning Mongo operations in Java using Spring Boot framework and hence the code structure is kept as simple as possible. Exception Handling, Unit tests, Integration tests, Swagger documentation, etc, are not yet implemented and will be added gradually.