{"id":21676756,"url":"https://github.com/anandman03/nodejs-jwt-auth-backend","last_synced_at":"2026-04-11T05:32:44.885Z","repository":{"id":162457204,"uuid":"427082129","full_name":"anandman03/nodejs-jwt-auth-backend","owner":"anandman03","description":"Backend for authentication and authorization for nodejs using jwt. Used Redis to store refresh tokens and PostgreSQL (sequelize ORM) to store user information.","archived":false,"fork":false,"pushed_at":"2021-11-12T06:06:24.000Z","size":4391,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-03T16:30:12.893Z","etag":null,"topics":["authentication","backend","express","jwt","jwt-authentication","login-system","nodejs","postgresql","redis","sequelize-orm"],"latest_commit_sha":null,"homepage":"","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/anandman03.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}},"created_at":"2021-11-11T17:12:18.000Z","updated_at":"2021-11-12T10:09:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"2d317b66-3c45-4e2a-9b1d-51d6a2694873","html_url":"https://github.com/anandman03/nodejs-jwt-auth-backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anandman03/nodejs-jwt-auth-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anandman03%2Fnodejs-jwt-auth-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anandman03%2Fnodejs-jwt-auth-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anandman03%2Fnodejs-jwt-auth-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anandman03%2Fnodejs-jwt-auth-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anandman03","download_url":"https://codeload.github.com/anandman03/nodejs-jwt-auth-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anandman03%2Fnodejs-jwt-auth-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31669806,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"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":["authentication","backend","express","jwt","jwt-authentication","login-system","nodejs","postgresql","redis","sequelize-orm"],"created_at":"2024-11-25T14:16:13.550Z","updated_at":"2026-04-11T05:32:44.861Z","avatar_url":"https://github.com/anandman03.png","language":"JavaScript","readme":"# NodeJS – JWT based Authentication \u0026 Authorization example with JSONWebTokens, Redis \u0026 SequelizeORM\n\n- A nodejs based backend for authentication and authorization using jwt.\n- Used Redis to store the refresh token post successful login.\n- Used SequelizeORM (PostgreSQL) to store user information.\n- Performed validations for password and emails at db and server side.\n\n---\n## Requirements\n\nFor development, you will only need Node.js and a node global package, npm, installed in your environement.\n\n### Node\n- #### Node installation on Windows\n\n  Just go on [official Node.js website](https://nodejs.org/) and download the installer.\nAlso, be sure to have `git` available in your PATH, `npm` might need it (You can find git [here](https://git-scm.com/)).\n\n- #### Other Operating Systems\n  You can find more information about the installation on the [official Node.js website](https://nodejs.org/) and the [official NPM website](https://npmjs.org/).\n\nIf the installation was successful, you should be able to run the following command.\n\n    $ node --version\n    v16.13.0\n\n    $ npm --version\n    8.1.0\n\nIf you need to update `npm`, you can make it using `npm`! Cool right? After running the following command, just open again the command line and be happy.\n\n    $ npm install npm -g\n\n###\n### Yarn installation\n  After installing node, this project will need yarn too, so just run the following command.\n\n  $ npm install -g yarn\n\n---\n\n## Install\n\n    $ git clone https://github.com/anandman03/nodejs-jwt-auth-backend\n    $ cd nodejs-jwt-auth-backend\n    $ npm install\n\n\n## Running the project\n\n    $ npm run dev\n\n## Simple build for production\n\n    $ npm run build","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanandman03%2Fnodejs-jwt-auth-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanandman03%2Fnodejs-jwt-auth-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanandman03%2Fnodejs-jwt-auth-backend/lists"}