Closed akshit-bhutani-19 closed 2 months ago
would like to work on it, lets connect!
@Siddharthaaa21 You can work on it. If you want to discuss further we can connect on discord
alright
pls assign.
@shradiphylleia You can begin with it
hi can you assign this to me
Develop the backend APIs for managing sales orders, customer details, returns, and generating sales reports.
Requirements:
GET /api/sales/orders: Endpoint to retrieve a list of sales orders with details. GET /api/customers/:id: Endpoint to retrieve customer details for a specific customer. POST /api/returns: Endpoint to process returns and update corresponding sales order status. GET /api/reports/sales: Endpoint to generate sales reports based on selected criteria (e.g., date range, product category).
Database Schema:
Sales Order: orderNumber (String) date (Date) customer (Object: { name: String, email: String, phone: String }) items (Array of Objects: { productId: String, quantity: Number, unitPrice: Number }) totalAmount (Number) status (String)
Perform unit testing using Postman