This project is a Business Dashboard created using the MERN (MongoDB, Express.js, React.js, Node.js) stack. It provides various components to visualize essential business metrics and insights. The dashboard utilizes the Recharts library for displaying graphical representations. Vite is used for the frontend development environment.
- This component displays the overall profit and revenue data.
- Graphical representation of revenue trends month by month.
- Insights into ongoing campaigns and their performance against set targets.
- Visualization of revenue losses over a specified period.
- Analysis of profit margins to assess business profitability.
- Comparison between product prices and incurred expenses.
- Breakdown of expenses categorized by different expenditure types.
In addition to the dashboard components, the project includes a Prediction module that utilizes machine learning for forecasting future revenue.
- Utilizes regression algorithms to predict next year's revenue based on current month's data.
Follow these steps to set up and run the project:
- Clone the repository.
- Navigate to the project directory.
- Install dependencies:
yarn install
- Configure environment variables, including database connection details.
- Populate the MongoDB database with relevant data.
- Start the frontend development server:
yarn dev
- Start the backend server:
yarn dev
- Open the dashboard in your web browser.
- MongoDB: NoSQL database for storing business data.
- Express.js: Web application framework for Node.js used for backend development.
- React.js: JavaScript library for building user interfaces.
- Node.js: JavaScript runtime environment for server-side development.
- Recharts: A composable charting library for React.
- Vite: Next-generation frontend tooling for React development.