Skip to content

Expense Manager with Spring Boot and MongoDB - A robust RESTful API for managing expenses

Notifications You must be signed in to change notification settings

Rimjhim0110/REST-API-with-Spring-Boot-and-MongoDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REST API with Spring Boot and MongoDB

This repository contains an Expenditure Manager application that integrates Spring Boot and MongoDB to create a robust RESTful API for managing expenditures. The application facilitates CRUD (Create, Read, Update, Delete) operations on expenditure records.

Technology Stack

  • Spring Boot
  • Spring Data MongoDB
  • MongoDB Compass

Prerequisites

  • Java 17
  • Maven
  • MongoDB Compass

API Endpoints

  • Add Expenditure: Create a new expenditure

    • Method: POST
    • Endpoint: /api/expenditure
    • Request Body: JSON data representing the new expenditure
  • Update Expenditure: Update an existing expenditure

    • Method: PUT
    • Endpoint: /api/expenditure
    • Request Body: JSON data representing the updated expenditure
  • Get All Expenditures: Retrieve a list of all expenditures

    • Method: GET
    • Endpoint: /api/expenditure
  • Get Expenditure by Name: Retrieve an expenditure by its name

    • Method: GET
    • Endpoint: /api/expenditure/{name}
  • Delete Expenditure: Delete an expenditure by its ID

    • Method: DELETE
    • Endpoint: /api/expenditure/{id}

Thank you for checking out my project!

About

Expense Manager with Spring Boot and MongoDB - A robust RESTful API for managing expenses

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages