quarantine management web app using MERN stack
have node and mongodb installed on your local machine
to run this app :
- clone it to your local machine
- install all the required npm packages
- open your mongo terminal using mongo command and type in the following commands
- use quarantine
- db.user.insertOne({username:"sam",password:"admin",type:"superadmin"})
- db.user.insertOne({username:"john",password:"admin",type:"admin"})
- Now you have two users ready sam as superadmin and john as admin,similarly type can have 5 different values
- superadmin
- admin
- dashboard
- airport
- institution //dont create this type manually, create as admin or superadmin
- now open the cloned app and inside server folder run the command npm run dev
- this will run react client at port 3000 and node at port 9000
- at port 3000 login and enjoy