Skip to content

Web Portal of Thomso'18 (Annual Cultural Fest of IIT Roorkee)

Notifications You must be signed in to change notification settings

ThomsoIITR/Thomso-18

Repository files navigation

Thomso'18

db.createRole({ createRole: <Role Name>, privileges: [ {
  resource: { db: <Databae Name>, collection: "" },
  actions: [ "find","insert","update","createIndex","createCollection","remove" ]}
], roles: [{ role: "read", db: <Databae Name>}] })
  • Create User
- db.createUser({"user" : <User name>,pwd: <Password>, "roles" : [{"role" : <Role Name Created>, "db" : <Databae Name>}]})
  • Make a new file named .env and copy the text from .env.sample to it. Fill the credentials of the database.

  • Run Following Commands

-  Run npm install
-  Run npm start
-  Run npm run serve(for http) or npm run https(for https)

About

Web Portal of Thomso'18 (Annual Cultural Fest of IIT Roorkee)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published