ben-jnr / quarantine

quarantine management web app using react and node

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

quarantine

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
    1. use quarantine
    2. db.user.insertOne({username:"sam",password:"admin",type:"superadmin"})
    3. 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
    1. superadmin
    2. admin
    3. dashboard
    4. airport
    5. 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

About

quarantine management web app using react and node


Languages

Language:JavaScript 94.7%Language:HTML 3.4%Language:CSS 1.4%Language:SCSS 0.5%