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.
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.