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