{"id":15175690,"url":"https://github.com/aayushimmodi/api-hash-jwt","last_synced_at":"2026-02-26T21:02:13.190Z","repository":{"id":255310200,"uuid":"849194472","full_name":"Aayushimmodi/api-hash-jwt","owner":"Aayushimmodi","description":"Create API for Register,Login and Display using hash and JWT  Token","archived":false,"fork":false,"pushed_at":"2024-08-29T11:54:59.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-11T21:33:06.127Z","etag":null,"topics":["bcrypt","es6-javascript","expressjs","jwt","nodejs","restful-api"],"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/Aayushimmodi.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":"2024-08-29T06:35:40.000Z","updated_at":"2024-08-29T11:55:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"09955670-2316-488e-91fe-312c69161a4a","html_url":"https://github.com/Aayushimmodi/api-hash-jwt","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"b1d24067b7f16c83712cebe8d02bea78972bbc1d"},"previous_names":["aayushimmodi/api-hash-jwt"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Aayushimmodi/api-hash-jwt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aayushimmodi%2Fapi-hash-jwt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aayushimmodi%2Fapi-hash-jwt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aayushimmodi%2Fapi-hash-jwt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aayushimmodi%2Fapi-hash-jwt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aayushimmodi","download_url":"https://codeload.github.com/Aayushimmodi/api-hash-jwt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aayushimmodi%2Fapi-hash-jwt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29872671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T21:01:59.805Z","status":"ssl_error","status_checked_at":"2026-02-26T21:00:42.555Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bcrypt","es6-javascript","expressjs","jwt","nodejs","restful-api"],"created_at":"2024-09-27T12:40:17.434Z","updated_at":"2026-02-26T21:02:13.150Z","avatar_url":"https://github.com/Aayushimmodi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# api-hash-jwt\nCreate Login, Register and Display API using JWT and Hash password\n#\n### JWT (Json Web Token) \nIt is a stateless authentication mechanism i.e it maintains sessions in the\nclient-side itself instead of storing it in the server. used with authentication systems to make authenticated requests.\nIt consist of three parts — \u003cb\u003eheader, payload, and signature.\u003c/b\u003e\n*  npm i jsonwebtoken --save\n*  API is secure using \u003cb\u003eJsonWebToekn\u003c/b\u003e\n#\n### Generate Hash Password using Bcrypt library \nusing Bcyrpt library to hash and compare password.to store encrypted data in database.\n*  npm i bcrypt --save\n* const bcrypt = require('bcrypt');\n\n#### Salt \n* Salt Round means cost factor.\n* salt is a random value, and should differ for each calculation, so the\nresult should hardly ever be the same, even for equal passwords\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faayushimmodi%2Fapi-hash-jwt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faayushimmodi%2Fapi-hash-jwt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faayushimmodi%2Fapi-hash-jwt/lists"}