This is a simple CRUD (Create, Read, Update, Delete) application built using Spring WebFlux and MongoDB. It provides endpoints to perform CRUD operations on users.
- Get all users
- Get user by ID
- Create user
- Update user
- Delete user
- Java
- Spring WebFlux
- MongoDB
- Lombok
- Java 8 or higher
- MongoDB installed and running
-
Clone the repository:
git clone https://github.com/iammahesh123/spring-reactive-crud-application.git
-
Import the project into your preferred IDE.
-
Make sure MongoDB is running on your local machine.
-
Run the application.
-
You can access the API endpoints to perform CRUD operations on users.
- GET /users: Get all users
- GET /users/{id}: Get user by ID
- POST /users: Create user
- PUT /users/{id}: Update user
- DELETE /users/{id}: Delete user
- Fork the repository
- Create your feature branch (git checkout -b feature/YourFeature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin feature/YourFeature)
- Create a new Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.