{"id":26684030,"url":"https://github.com/0x4bd0/nestjs-auth-module","last_synced_at":"2026-04-29T09:02:22.829Z","repository":{"id":113023368,"uuid":"337459809","full_name":"0x4bd0/nestJs-auth-module","owner":"0x4bd0","description":"Basic auth authentication nestJs module, using Jwt and password hashing.","archived":false,"fork":false,"pushed_at":"2021-02-09T16:47:53.000Z","size":103,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-25T14:52:47.099Z","etag":null,"topics":["auth","authentication","authorization","jwt","jwt-auth","jwt-authentication","jwt-token","jwt-tokens","nest","nestjs","nestjs-backend"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/0x4bd0.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":"2021-02-09T16:05:03.000Z","updated_at":"2023-03-07T18:57:02.000Z","dependencies_parsed_at":"2023-06-05T17:30:17.963Z","dependency_job_id":null,"html_url":"https://github.com/0x4bd0/nestJs-auth-module","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/0x4bd0/nestJs-auth-module","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x4bd0%2FnestJs-auth-module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x4bd0%2FnestJs-auth-module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x4bd0%2FnestJs-auth-module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x4bd0%2FnestJs-auth-module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0x4bd0","download_url":"https://codeload.github.com/0x4bd0/nestJs-auth-module/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x4bd0%2FnestJs-auth-module/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32418173,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["auth","authentication","authorization","jwt","jwt-auth","jwt-authentication","jwt-token","jwt-tokens","nest","nestjs","nestjs-backend"],"created_at":"2025-03-26T09:18:42.367Z","updated_at":"2026-04-29T09:02:22.799Z","avatar_url":"https://github.com/0x4bd0.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"- NestJs Auth module with Jwt and password hashing\n\n## Get started :\n- Go to src/app.module.ts and add your mongoDB Connection URL\n\n## Needed Packages :\n\n```bash\n\n$ npm install --save @nestjs/passport passport passport-local\n\n$ npm install --save-dev @types/passport-local\n\n$ npm install --save @nestjs/jwt passport-jwt\n\n$ npm install --save-dev @types/passport-jwt\n\n$ npm install --save mongoose\n\n$ npm install --save class-validator\n\n$ npm install --save @nestjs/mongoose\n\n$ npm install --save @nestjs/bcrypt\n\n$ npm install --save class-transformer\n\n```\n\n## Endpoints :\n\n1- Login : '/auth/login'\n  - Request Body : { email, password }\n\n2- Register : '/auth/register'\n  - Request Body : { email, password,username}\n\n3- Test auth access : '/auth/jwtTest'\n  - Request Headers : { Authorization : Bearer + access_token }\n\n\nRead more about Authentication \u003ca href=\"https://docs.nestjs.com/security/authentication\"\u003eHere\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x4bd0%2Fnestjs-auth-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0x4bd0%2Fnestjs-auth-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x4bd0%2Fnestjs-auth-module/lists"}