Admin - Order Mgmt - view all orders
Opened this issue · 1 comments
rkaur01 commented
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
Admin needs access to userId, id, createdAt, status, accessoryId, quantity, orderedPrice