area1707/grace-shopper

Admin - Order Mgmt - view all orders

Opened this issue · 1 comments

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.

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