A fully functional rest api in node js and mysql with jwt authentication .
For development, you will only need Node.js and a node global package, npm, installed in your environment.
$ git clone https://github.com/jobayermojumder/nodejs-jwt-auth.git
$ cd nodejs-jwt-auth
$ npm install
create .env file and copy all the configuration from .env.example. After that configure .env file with your database connection and jwt secret key.
$ cp .env.example .env
Import table.sql to your mysql database.
$ npm start
$ npm build