Skip to content

The Load-API is a simple RESTful API for managing loads in online truck booking system, built using Spring Boot and JPA Hibernate with PostgreSQL. This application provides CRUD (Create, Read, Update, Delete) functionality for managing loads, allowing users to create new loads, retrieve load(s), update an existing load, and delete a load.

License

Notifications You must be signed in to change notification settings

abhisheks-gh/Load-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Load-API

This is a Load API created using Spring Boot and JPA Hibernate with PostgreSQL. This application provides a RESTful API for managing online shipments, including creating, retrieving, updating, and deleting loads.

Requirements

To run this application, you will need:

Java 17 or higher Maven PostgreSQL

Getting Started

To get started with this application, follow these steps:

Clone this repository to your local machine. Open the project in your preferred IDE (such as IntelliJ or Eclipse). Update the application.properties file located in the src/main/resources directory with your PostgreSQL database configuration details. Build the application using Maven: mvn clean install Run the application: mvn spring-boot:run Once the application is running, you can access the REST API by sending HTTP requests to the appropriate endpoints.

API Endpoints

The following endpoints are available in this application:

GET /load - Query params - (shipperId) Retrieve a list of all loads with this shipperId.
GET /load/{id} - Retrieve load by loadId.
POST /load - Create a new load.
PUT /load/{loadId} - Update an existing load by loadId.
DELETE /load/{loadId} - Delete a load by loadId.
All endpoints return JSON data.

Contributing

If you would like to contribute to this project, feel free to open an issue or submit a pull request. All contributions are welcome!

License

This application is licensed under the MIT license. See the LICENSE file for details.

Contact

If you have any questions or concerns about this application, please contact me on https://www.linkedin.com/in/abhishekkumarxd

About

The Load-API is a simple RESTful API for managing loads in online truck booking system, built using Spring Boot and JPA Hibernate with PostgreSQL. This application provides CRUD (Create, Read, Update, Delete) functionality for managing loads, allowing users to create new loads, retrieve load(s), update an existing load, and delete a load.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages