- ExpressJS
- MySQL
- Sequelize ORM
- Postman (For validity purpose)
- JWT authentication
- run this command
npm i - create a .env file
- add these below statements
PORT = 3000
JWT_SECRET = custom_secret(string)
DB_HOST = localhost
DB_USER = root
DB_PASSWORD = Your_SQL_password
DB_NAME = customDB_name
- Create a new database using SQL is client and give the name of db here
- For better understanding and readability, I properly commented on the code, what exactly this snippet is going to do !