SendIT is a courier service that helps users deliver parcels to different destinations.
Instructions to get the project running successfully.
You need to have these installed before cloning the project
- NodeJS (At least v8.11.2) - https://nodejs.org/en/download/
git clone https://github.com/makozi/SendIT-.git
cd SendIT-
npm install
npm start
Testing is used at key checkpoints in the overall process to determine whether objectives are being met. It also speed up software development process
npm run test
Request | End Point | Action |
---|---|---|
POST | /api/v1/parcels | Create a new contact |
GET | /api/v1/parcels | Get all parcels |
GET | /api/v1/parcels/:id | Get a parcel by parcelid |
PUT | /api/v1/parcels/:id | Update a parcel by parcelid |
DELETE | /api/v1/parcels/:id | Delete parcel by parcelid |
GET | /api/users/:Id/parcels | Fetch all orders by a user |