{"id":20340888,"url":"https://github.com/nbaua/nest-mongo-auth-starter","last_synced_at":"2026-04-28T16:04:21.478Z","repository":{"id":120255251,"uuid":"376851858","full_name":"nbaua/nest-mongo-auth-starter","owner":"nbaua","description":"A starter code for NestJS REST API using Mongoose, implements the authentication guards.","archived":false,"fork":false,"pushed_at":"2021-06-14T14:35:51.000Z","size":91,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-14T18:43:18.577Z","etag":null,"topics":["authentication","best-practices","mongodb","mongoose","nestjs","nestjs-backend","starter","starter-template"],"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/nbaua.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-06-14T14:26:24.000Z","updated_at":"2024-05-30T12:10:31.000Z","dependencies_parsed_at":"2024-07-26T07:15:27.650Z","dependency_job_id":null,"html_url":"https://github.com/nbaua/nest-mongo-auth-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbaua%2Fnest-mongo-auth-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbaua%2Fnest-mongo-auth-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbaua%2Fnest-mongo-auth-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbaua%2Fnest-mongo-auth-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nbaua","download_url":"https://codeload.github.com/nbaua/nest-mongo-auth-starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241867728,"owners_count":20033816,"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","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","best-practices","mongodb","mongoose","nestjs","nestjs-backend","starter","starter-template"],"created_at":"2024-11-14T21:24:32.044Z","updated_at":"2026-04-28T16:04:16.423Z","avatar_url":"https://github.com/nbaua.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## NestJS-Mongo Authentication Starter\n\nA starter code for NestJS REST API authentication using Mongo(ose/DB), aiming at quick start on the project, Being the authentication is a most tedious activity for any project. This starter code allows you to focus on the other project aspects.\n\nThis repository contains the following features.\n\n- As NestJs FW project, a separation of concern is always present\n- Implements the JWT based authentication using passport middleware\n- Implements custom guards and strategies.\n- Global Validation Pipe supported with option to override the same with custom validations.\n- CORS Enabled and Logged operations with Nest console logger.\n- Minimal implementation, allowing you to extend the project the way you want.\n\n### You would require to create .env file in the project root with the following entries\n\n```\nMONGO_URI=mongodb://localhost:27017/\u003cYOUR-DB-NAME\u003e\nJWT_SECRET=\u003cYOUR_SECRET_KEY_MAKE_SURE_THIS_IS_DIFF_ON_PRODUCTION\u003e\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnbaua%2Fnest-mongo-auth-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnbaua%2Fnest-mongo-auth-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnbaua%2Fnest-mongo-auth-starter/lists"}