Example of NodeJS rest-api(ExpressJS, Knex) for authentication user with JWT.
- Create a database in your Postgresql, name it "authentication_jwt"
- Install knex cli "npm i -g knex-cli"
- Run: "knex migrate:up" in to base project directory
- Run: "npm i" in to base project directory
- Run: "npm run dev"
- Swagger Documentation URL: http://localhost:4000/doc
- NodeJS
- Rest-api
- expressJS
- express-jwt
- jsonwebtoken
- passport
- joi
- knex
- Winston
- Authentication
- Swagger 2