Build Rest CRUD API with Micronaut and MongoDB
Hello everyone. Today we will learn how to develop REST-style CRUD APIs with MongoDB and Micronaut. You can download the source code from our Github repository. After completing this tutorial what we will build? We will build REST API CRUD features: GET - Fetch all User : /api/v1/users GET - Get User by ID : /api/v1/users/{id} POST - Create User : /api/v1/users PUT - Edit User Details : /api/v1/users/ DELETE - Delete User : /api/v1/users/{id} Technologies used: Micronaut 3.1.1 MongoDB Mongo Synch 3.1.1 Maven Java 11 Project Directory: Maven[pom.xml] A Project Object Model or POM is the fundamental unit of work in Maven. It is an XML file that contains information about the project and configuration details utilized by Maven to build the project. It contains default values for most projects. Some of the configurations that can be designated in the POM is the project dependencies, the plugins or goals that can be executed, the build profil