🎯 Project Scope
We need you to build a small dashboard for e-commerce. It should show some key numbers like:
Sales Overview: The total money we made, how many orders, and the average order amount.
Product Performance: A simple list of the top 5 products that sell best, with their sales number and total money they made.
Customer Insights: Just the number of new customers and a small chart showing new customers over the last week.
The data for this dashboard will be provided by a backend we need you to build.
This is a dashboard integration job. You will need to build the backend to provide the data and then build the front-end to show it. Once this is complete, if we like your work, we will give you a lot more tasks.
💻 Technical Requirements
Backend: Python (Flask or FastAPI is good) to create an API. This API will give the data to the dashboard.
Frontend: React.js to show the dashboard. You will need to use a simple chart library to show the data.
API: We need a REST API with at least three endpoints for the different data types.
Styling: Please use a library like Material UI or Bootstrap to make it look clean. No need for fancy custom designs.
💡 Deliverables
The code for both the front-end and back-end.