area1707 / grace-shopper

3 stars 0 forks source link

Admin - Order Mgmt - view all orders #24

Open rkaur01 opened 7 years ago

rkaur01 commented 7 years ago

Story: view a list of all orders, so that I can find specific orders to review

Implementation: an Express route on the backend (GET 'api/admin/orders') should 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.

rkaur01 commented 6 years ago

Admin needs access to userId, id, createdAt, status, accessoryId, quantity, orderedPrice