ChandelAnish/myntra-clone

Implement Order Management API with Admin Controls

Opened this issue · 0 comments

Order Management

  • Routes:
    • GET /api/orders - Get a list of user's orders
    • GET /api/orders/:id - Get order details by ID
    • POST /api/orders - Create a new order
    • PUT /api/orders/:id - Update order status (admin only)
    • DELETE /api/orders/:id - Cancel an order
  • Controllers:
    • OrderController - Handles order creation, retrieval, and management.

I will work on this issues as I am backend developer , @ChandelAnish , @itssarvani394 , @Kritika30032002 please assign this issue to me with proper level under GSSOC-extd 2024