This guide provides step-by-step instructions to install the required dependencies for the project.
| Package | Purpose | Install with Yarn | Install with NPM |
|---|---|---|---|
react, react-dom |
React library for building UI | yarn add react react-dom |
npm install react react-dom |
react-router-dom |
For routing (navigate pages without refresh) | yarn add react-router-dom |
npm install react-router-dom |
chart.js, react-chartjs-2 |
For creating charts | yarn add chart.js react-chartjs-2 |
npm install chart.js react-chartjs-2 |
firebase |
To connect to Firebase | yarn add firebase |
npm install firebase |
Run the following commands in your terminal to install the necessary packages using Yarn:
yarn add react react-dom
yarn add react-router-dom
yarn add chart.js react-chartjs-2
yarn add firebase