Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 708 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 708 Bytes

Prerequisites

Below noted things you need to install to run this project in your system

  • Node.js
  • NPM
  • MongoDB

To Setup

Clone or download this repository

  1. cd backend
  2. npm install, npm install mongoose, and npm install dotenv
  3. cd ../frontend
  4. npm install, npm install date-fns, npm install @mui/x-data-grid, npm install react-chartjs-2, npm install chart.js
  5. 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

To run node server

  1. cd backend
  2. node server.js

To run react frontend

  1. cd frontend
  2. npm start