Below noted things you need to install to run this project in your system
- Node.js
- NPM
- MongoDB
Clone or download this repository
cd backend
npm install
,npm install mongoose
, andnpm install dotenv
cd ../frontend
npm install
,npm install date-fns
,npm install @mui/x-data-grid
,npm install react-chartjs-2
,npm install chart.js
- cd into backend again (
cd ../backend
), create environment variable (.env file), a .env file is needed to connect to the database, it should start with: MONGODB_URL=mongodb+srv://
To run node server
cd backend
node server.js
To run react frontend
cd frontend
npm start