Skip to content

A RESTful API for order management, built with Node.js and Express. Allows you to create, list, update, delete, and change the status of orders with unique IDs generated via UUID.

Notifications You must be signed in to change notification settings

CamilleGS/order-management-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Order Management API

A simple RESTful API for order management, built with Node.js and Express. Allows you to create, list, update, delete, and change the status of orders with unique IDs generated via UUID.

DEMONSTRATION

Demo GIF


Features

  • GET /order: Retrieve all orders.
  • POST /order: Create a new order with a unique ID.
  • PUT /order/:id: Update an existing order by ID.
  • DELETE /order/:id: Delete an order by ID.
  • PATCH /order/:id: Update the status of an order (mark as "ready").

Technologies Used

  • Node.js
  • Express
  • UUID (for unique order IDs)

Installation

  1. Clone the repository:
git clone https://github.com/CamilleGS/order-management-api.git 

2.Install dependencies:

cd order-management-api
npm install

3.Start the server:

npm run dev

The server will be running on http://localhost:3000/order.

Testing

Use Insomnia or Postman to test the API endpoints.

Author

CamilleGS

About

A RESTful API for order management, built with Node.js and Express. Allows you to create, list, update, delete, and change the status of orders with unique IDs generated via UUID.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published