Open AKSHITHA-CHILUKA opened 1 month ago
add in src/pages
How will you log all the things ?
Create a /api/log-order endpoint to log new orders
Design an OrderHistory table with columns for user ID, order ID, date, items, status, and total amount.
On order completion, send a POST request to /api/log-order with order details.
Store order details in the OrderHistory table.
Create a /api/log-order endpoint to log new orders
Design an OrderHistory table with columns for user ID, order ID, date, items, status, and total amount.
On order completion, send a POST request to /api/log-order with order details.
Store order details in the OrderHistory table.
Okay go ahead
What's wrong with the existing documentation
add OrderHistory.jsx
Allow users to view their past orders or activities related to their profile.
Add ScreenShots
No response
Record