Pre Requisites
Mongodb, NodeJs, Robomongo and Nodemon
-
Run these commands after opening directory in vs code
-
'cd client'
-
'npm install'
-
'cd ..' //back to main directory
-
'npm install'
-
'npm run dev' // To run client and server
Run this command for creating new adminsitrator account in mongodb command shell using 'canyon' database
db.users.insert({name: "Test User",role: "administrator",email:"[email protected]",password:"$2b$10$zJCbqAaDGOkcIBr8b1Iihu4z0Xb/iMcY6.lvOrHEHPvJeHNf.9Wci"})
default password inserted is 'canyon123'