{"id":26179392,"url":"https://github.com/bezkoder/node-js-jwt-authentication-postgresql","last_synced_at":"2025-08-25T21:07:58.499Z","repository":{"id":37760264,"uuid":"314274971","full_name":"bezkoder/node-js-jwt-authentication-postgresql","owner":"bezkoder","description":"Node.js JWT Authentication \u0026 Authorization with PostgreSQL example","archived":false,"fork":false,"pushed_at":"2023-09-25T10:01:27.000Z","size":60,"stargazers_count":112,"open_issues_count":3,"forks_count":70,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T22:37:13.704Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bezkoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-11-19T14:36:06.000Z","updated_at":"2025-02-02T02:42:45.000Z","dependencies_parsed_at":"2025-04-14T22:32:12.889Z","dependency_job_id":"cfc953e7-8f80-4906-bb99-84739d49b24b","html_url":"https://github.com/bezkoder/node-js-jwt-authentication-postgresql","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bezkoder/node-js-jwt-authentication-postgresql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bezkoder%2Fnode-js-jwt-authentication-postgresql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bezkoder%2Fnode-js-jwt-authentication-postgresql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bezkoder%2Fnode-js-jwt-authentication-postgresql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bezkoder%2Fnode-js-jwt-authentication-postgresql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bezkoder","download_url":"https://codeload.github.com/bezkoder/node-js-jwt-authentication-postgresql/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bezkoder%2Fnode-js-jwt-authentication-postgresql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272131802,"owners_count":24878988,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-11T21:49:46.853Z","updated_at":"2025-08-25T21:07:58.474Z","avatar_url":"https://github.com/bezkoder.png","language":"JavaScript","readme":"# Node.js – JWT Authentication example with PostgreSQL example\n\n## User Registration, User Login and Authorization process.\nThe diagram shows flow of how we implement User Registration, User Login and Authorization process.\n\n![jwt-token-authentication-node-js-example-flow](jwt-token-authentication-node-js-example-flow.png)\n\nFor more detail, please visit:\n\u003e [Node.js JWT Authentication \u0026 Authorization with PostgreSQL example](https://www.bezkoder.com/node-js-jwt-authentication-postgresql/)\n\nYou may need to implement Refresh Token:\n\n![jwt-refresh-token-node-js-example-flow](jwt-refresh-token-node-js-example-flow.png)\n\n\u003e [Node.js JWT Refresh Token example](https://www.bezkoder.com/jwt-refresh-token-node-js/)\n\nWorking with Front-end:\n\u003e [Vue.js JWT Authentication with Vuex and Vue Router](https://www.bezkoder.com/jwt-vue-vuex-authentication/)\n\n\u003e [Angular 8 JWT Authentication example](https://www.bezkoder.com/angular-jwt-authentication/)\n\n\u003e [Angular 10 JWT Authentication example](https://www.bezkoder.com/angular-10-jwt-auth/)\n\n\u003e [Angular 11 JWT Authentication example](https://www.bezkoder.com/angular-11-jwt-auth/)\n\n\u003e [Angular 12 JWT Authentication example](https://www.bezkoder.com/angular-12-jwt-auth/)\n\n\u003e [Angular 13 JWT Authentication example](https://www.bezkoder.com/angular-13-jwt-auth/)\n\n\u003e [React JWT Authentication \u0026 Authorization (without Redux) example](https://www.bezkoder.com/react-jwt-auth/)\n\n\u003e [React Redux JWT Authentication \u0026 Authorization example](https://www.bezkoder.com/react-redux-jwt-auth/)\n\n## More Practice:\n\u003e [Node.js CRUD Rest APIs with Express, Sequelize \u0026 PostgreSQL example](https://www.bezkoder.com/node-express-sequelize-postgresql/)\n\n\u003e [Node.js Express Pagination with PostgreSQL example](https://www.bezkoder.com/node-js-pagination-postgresql/)\n\n\u003e [Node.js Express File Upload Rest API example](https://www.bezkoder.com/node-js-express-file-upload/)\n\n\u003e [Node.js Express File Upload with Google Cloud Storage example](https://www.bezkoder.com/google-cloud-storage-nodejs-upload-file/)\n\nAssociations:\n\u003e [Sequelize Associations: One-to-Many Relationship example](https://www.bezkoder.com/sequelize-associate-one-to-many/)\n\n\u003e [Sequelize Associations: Many-to-Many Relationship example](https://www.bezkoder.com/sequelize-associate-many-to-many/)\n\nIntegration on same Server/Port:\n\u003e [Integrate Vue with Node.js Express](https://www.bezkoder.com/serve-vue-app-express/)\n\n\u003e [Integrate Angular with Node.js Express](https://www.bezkoder.com/integrate-angular-12-node-js/)\n\n\u003e [Integrate React with Node.js Express](https://www.bezkoder.com/integrate-react-express-same-server-port/)\n\n## Project setup\n```\nnpm install\n```\n\nThen, edit `app/config/db.config.js` with correct DB credentials.\n\n### Run\n```\nnode server.js\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbezkoder%2Fnode-js-jwt-authentication-postgresql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbezkoder%2Fnode-js-jwt-authentication-postgresql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbezkoder%2Fnode-js-jwt-authentication-postgresql/lists"}