Role Based Auth using Node JS Requirements : npm install --save express npm install --save cors npm install --save mongoose npm install --save bcryptjs npm install --save jsonwebtoken Important : Change config.database with Connection String Change config.secret with Secret Key