area1707 / grace-shopper

3 stars 0 forks source link

Admin - OrderMgmt - Filter Order by Status #28

Open rkaur01 opened 7 years ago

rkaur01 commented 7 years ago

Story: filter orders by status (Created, Processing, Cancelled, Completed), so that I can more easily find the orders I'm interested in

Implementation: an Express route on the backend (GET 'api/admin/orders/someOrderStatus') should find orders that match someOrderStatus and serve up the orderId, orderDate, customerName, orderStatus, and totalCost from the db. Special access control is needed, only the admin should be able to view this.