There are many use cases when people need to get something urgently, without wanting to do things themselves - like getting vegetables from the local market to forgetting your laptop charger at home. Starbucks doesn’t deliver, but wouldn't it be nice if someone could grab your fav drink from there!
This API solves the very same problem. It lets customers sign up using their phone no, and order almost anything (From our catalogue), the order is assigned to a delivery person by admin, where he can see order details, and delivery person can update its status
- yarn or npm
To install yarn, follow the instructions from the yarn website. To install npm, follow the instructions from the npm website.
- Clone the repo
- Run npm install or yarn in root folder to install dependencies
- Server listen on port 3000
Customer
Delivery Person
Admin
With Phone No/password which returns Auth token
ORDER PLACED
REACHED STORE
ITEMS PICKED
ENROUTE
DELIVERED
CANCELLED