Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Spring Boot application utilizing MongoDB for backend load management. Includes features for adding, retrieving, updating, and deleting load records. This API supports operations such as managing load details, querying by shipper ID, and handling individual load entries with MongoDB as the data store.

Spring boot initializr

image

Folder Structure

image

Example GET Request by loadId:

curl --location 'http://localhost:8080/load/66dbf4f3a232992090ba255a'

Example GET Request by shipperId:

curl --location 'http://localhost:8080/load?shipperId=shipper3'

Example POST Request:

curl --location 'http://localhost:8080/load' \
--header 'Content-Type: application/json' \
--data '{
    "loadingPoint": "Delhi",
    "unloadingPoint": "Jaipur",
    "productType": "Chemicals",
    "truckType": "Canter",
    "noOfTrucks": 1,
    "weight": 100,
    "comment": "Handle with care",
    "shipperId": "shipper1",
    "date": "2024-09-01"
}'

About

A Spring Boot application utilizing MongoDB for backend load management. Includes features for adding, retrieving, updating, and deleting load records. This API supports operations such as managing load details, querying by shipper ID, and handling individual load entries with MongoDB as the data store.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages