{"id":49559715,"url":"https://github.com/bl4cktrum/nestjs-boilerplate","last_synced_at":"2026-05-03T07:15:53.151Z","repository":{"id":198957354,"uuid":"701823384","full_name":"bl4cktrum/nestjs-boilerplate","owner":"bl4cktrum","description":"NestJs Framework typescript boilerplate that implements orm, authentication and so on.","archived":false,"fork":false,"pushed_at":"2024-05-21T18:19:19.000Z","size":125,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-21T19:43:57.350Z","etag":null,"topics":["authentication","configuration","nestjs","typeorm","typescript"],"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/bl4cktrum.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":"2023-10-07T16:59:54.000Z","updated_at":"2024-05-21T19:44:00.523Z","dependencies_parsed_at":"2023-10-13T08:33:01.371Z","dependency_job_id":null,"html_url":"https://github.com/bl4cktrum/nestjs-boilerplate","commit_stats":null,"previous_names":["bl4cktrum/nestjs-boilerplate"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bl4cktrum/nestjs-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bl4cktrum%2Fnestjs-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bl4cktrum%2Fnestjs-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bl4cktrum%2Fnestjs-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bl4cktrum%2Fnestjs-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bl4cktrum","download_url":"https://codeload.github.com/bl4cktrum/nestjs-boilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bl4cktrum%2Fnestjs-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32561128,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: 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":["authentication","configuration","nestjs","typeorm","typescript"],"created_at":"2026-05-03T07:15:52.386Z","updated_at":"2026-05-03T07:15:53.145Z","avatar_url":"https://github.com/bl4cktrum.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"http://nestjs.com/\" target=\"blank\"\u003e\u003cimg src=\"https://nestjs.com/img/logo-small.svg\" width=\"200\" alt=\"Nest Logo\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456\n\n[circleci-url]: https://circleci.com/gh/nestjs/nest\n\n  \u003cp align=\"center\"\u003e\u003ca href=\"https://github.com/nestjs/nest\"\u003eNest\u003c/a\u003e framework TypeScript starter repository based poiler plate. \u003cbr\u003e(Based on Node.js 18.18.0 LTS) \u003c/p\u003e\n    \u003cp align=\"center\"\u003e\n\n## Description\n\n\n\u003cul\u003e\n    \u003cli\u003eDatabase connection handled by \u003ca href=\"https://typeorm.io/\"\u003etypeorm\u003c/a\u003e and \u003ca href=\"https://docs.nestjs.com/techniques/database\"\u003e@nestjs/typeorm\u003c/a\u003e module.\u003c/li\u003e\n    \u003cli\u003eMultiple environment configuration handled by \u003ca href=\"https://www.npmjs.com/package/cross-env\"\u003ecross-env\u003c/a\u003e and \u003ca href=\"https://docs.nestjs.com/techniques/configuration\"\u003e@nestjs/config\u003c/a\u003e module.\u003c/li\u003e\n    \u003cli\u003eAuthentication features implemented by \u003ca href=\"https://www.passportjs.org/\"\u003epassport.js\u003c/a\u003e.\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://www.npmjs.com/package/bcrypt\"\u003eBcrypt\u003c/a\u003e has been used to hash and compare strings.\u003c/li\u003e\n    \u003cli\u003eExceptions has been handled by filters, responses has been standardized by interceptors, custom decorators and \u003ca href=\"https://www.npmjs.com/package/class-transformer\"\u003eclass-transformer\u003c/a\u003e. Check out user controller, service and entity to see usage example.\u003c/li\u003e\n\u003c/ul\u003e\n\n\n\n## Typeorm Implementation\n\n`Database informations` are specified in `src/db/data-source.ts` file. Also `entities'` path and `migration folder` path are. If you change the location of this file, do not forget to update the script.\n\n```\n// package.json\n// first one is placed to just handle data-source. So it is recommended to use migration:* \n\"scripts\": {\n...\n\"typeorm\": \"npm run build \u0026\u0026 typeorm -d dist/db/data-source.js\",\n\"migration:generate\": \"ts-node src/utils/migration-generate.ts\",\n\"migration:run\": \"npm run typeorm -- migration:run\",\n\"migration:revert\": \"npm run typeorm -- migration:revert\"\n...\n}\n```\n\nto generate a new migration ```npm run migration:generate \u003coutput_file_name\u003e```\n\n```bash\n$ npm run migration:generate -- CreateUserTable\n```\n\n## Environment Variables \u0026 Configuration Service\n\nSet vars in `.env` files then add the new var in `src/app.config.ts` to be able to use it from ConfigService.\u003cbr\u003e\nIf you want to create new `environment` you have to create new scripts that sets `NODE_ENV` to run app in your env.\n\n### ! Do not forget the ignore env files from .gitignore\n\n```markdown\n// .gitignore\n\n**/*.env\n!env/dev.env\n```\n\n## License\n\nNest is [MIT licensed](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbl4cktrum%2Fnestjs-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbl4cktrum%2Fnestjs-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbl4cktrum%2Fnestjs-boilerplate/lists"}