/auth

Here is the deal

Primary LanguageJavaScript

Node.js – JWT Authentication example with PostgreSQL example

User Registration, User Login and Authorization process.

The diagram shows flow of how we implement User Registration, User Login and Authorization process.

jwt-token-authentication-node-js-example-flow

For more detail, please visit:

Node.js JWT Authentication & Authorization with PostgreSQL example

You may need to implement Refresh Token:

jwt-refresh-token-node-js-example-flow

Node.js JWT Refresh Token example

Working with Front-end:

Vue.js JWT Authentication with Vuex and Vue Router

Angular 8 JWT Authentication example

Angular 10 JWT Authentication example

Angular 11 JWT Authentication example

React JWT Authentication & Authorization (without Redux) example

React Redux JWT Authentication & Authorization example

More Practice:

Node.js CRUD Rest APIs with Express, Sequelize & PostgreSQL example

Node.js Express Pagination with PostgreSQL example

Node.js Express File Upload Rest API example

Node.js Express File Upload with Google Cloud Storage example

Associations:

Sequelize Associations: One-to-Many Relationship example

Sequelize Associations: Many-to-Many Relationship example

Integration on same Server/Port:

Integrate Angular 8 with Node.js Express

Integrate Angular 10 with Node.js Express

Integrate React with Node.js Express

Project setup

npm install

Then, edit app/config/db.config.js with correct DB credentials.

Run

node server.js