This is a Orders RESTful API built with Node.js and Express for managing orders in an eCommerce system.
- Create a new order
- Update an existing order
- List orders for a specific date
- Search for a specific order by ID
- Delete an order
- Create a new order : /api/v1/orders
- Update an existing order : /api/v1/orders/update
- List orders for a specific date : /api/v1/orders/list
- Search for a specific order by ID : /api/v1/search/:id
- Delete an order : /api/v1/delete/:id
- Joi for fields validation
- nodemon watch js files
- express, node js framework
- dotenv, .env file configuration
- Node.js and npm installed on your machine
- MongoDB installed and running locally or a remote MongoDB connection URI
-
Clone the repository:
git clone npm install
https://documenter.getpostman.com/view/8492083/2s93ecxAoW#4e9c4d37-29e3-4589-bf32-5d9a77fef457