atlp-rwanda / knights-ecomm-be

Knights ecommerce backend APIs
https://knights-ecomm-be-lcdh.onrender.com
0 stars 0 forks source link

Vendor - Order Management #92

Closed faid-terence closed 6 months ago

faid-terence commented 6 months ago

Description:

The backend must manage the retrieval and updating of order status information, Information retrieved will be used on frontend, This involves handling GET request to fetch order status and POST request to update order status by either admin or Vendor. The system should also push real-time updates to the frontend whenever the order status changes.

Acceptance Criteria:

Dev notes:

faid-terence commented 6 months ago

@aimedivin Please make a clear description and attach an implementation plan for this issue !

aimedivin commented 6 months ago

Implementation plan

1. Deliverables at the end of the project.

The task will deliver API endpoints in two parties: one to get order status and another to update order status, with real-time updates using WebSocket. as these routes are protected, Security features will be added to verify user identity and permissions, and there will be checks to ensure the data sent in requests is correct.

DEV NOTE (REQUIRED)

Documentation:

2. Data flow / Flowchart / pseudocode / ERD diagrams

diagram-export-5-22-2024-6_47_46-AM

3. Schedule of implementation of the various parts

4. Dependencies/Foreseen blockers from team members

5. External services or libraries to be used