/be

Node.js Express: JWT example | Token Based Authentication & Authorization

be

How to Delete a Git Branch Both Locally and Remotely

// delete branch locally
git branch -d localBranchName

// delete branch remotely
git push origin --delete remoteBranchName

We need to install necessary modules: express, cors, body-parser, sequelize, mysql2, jsonwebtoken and bcryptjs. Run the command:

npm install express sequelize mysql2 body-parser cors jsonwebtoken bcryptjs --save