/spring-reactive-crud-application

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.

Primary LanguageJava

Spring Reactive CRUD App

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.

Features

  • Get all users
  • Get user by ID
  • Create user
  • Update user
  • Delete user

Technologies Used

  • Java
  • Spring WebFlux
  • MongoDB
  • Lombok

Prerequisites

  • Java 8 or higher
  • MongoDB installed and running

Getting Started

  1. Clone the repository:

    git clone https://github.com/iammahesh123/spring-reactive-crud-application.git
  2. Import the project into your preferred IDE.

  3. Make sure MongoDB is running on your local machine.

  4. Run the application.

  5. You can access the API endpoints to perform CRUD operations on users.

API Endpoints

  • 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

How to Contribute

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/YourFeature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin feature/YourFeature)
  5. Create a new Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.