expressjs-auth
expressjs-auth copied to clipboard
Authentication REST APIs with NodeJS Express, JWT token and MYSQL.
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
- See Postman.
MySQL
- See MySQL.
JWT
- See JWT.
BCRYPTJS
- See BCRYPTJS.
JOI
- See JOI.
DOTENV
- See DOTENV.
MYSQL2
- See MYSQL2.
Expressjs
- See Expressjs.
Nodejs
- See Nodejs.
Nodemon
- See Nodemon.