Skip to content

Authentication REST APIs with NodeJS Express, JWT token and MYSQL.

License

Notifications You must be signed in to change notification settings

supuna97/expressjs-auth

Repository files navigation

Expressjs Authentication REST APIs with JWT Token

Project technologies/tools

  • Node.js
  • Express.js
  • NODEMON
  • JWT
  • BCRYPTJS
  • JOI
  • DOTENV
  • MYSQL2
  • Postman

Project setup

npm init

Install dependencies

npm install express
npm install nodemon
npm install jsonwebtoken
npm install bcryptjs
npm install joi
npm install dotenv
npm install mysql2

app.js

  • Create app.js file

Compiles and hot-reloads for development using nodemon

nodemon app.js

Customize configuration

Postman

MySQL

JWT

BCRYPTJS

JOI

DOTENV

MYSQL2

Expressjs

Nodejs

Nodemon