You need to add your own mongoDB atlas cluster link to your database in a .env file inside Backend folder with the name below
DB
There are two folders inside this repo, frontend which is the client side react app, and backend which is the NodeJS server.
Run "npm i" inside both backend and frontend folders
Go inside Backend folder
Add your MongoDB atlas link of your database after making a .env file with variable name as "DB
Run "npm run dev"
The server will start listening at http://localhost:5000
Go inside client folder
Run "npm start"
Inside the client
The client will start at http://localhost:3000
-
Once both the server and client are up and running, you can begin using the app.
-
If you want to use the hosted server instead of the local server while testing the Frontend then just change "api2" to "api" in line 6 of Api.js in Api folder (src -> pages -> Api -> Api.js).
Site is live at
https://hack-woad.vercel.app/
Client: ReactJS, AntD, ChartJS, MUI
Server: Node, Express