{"id":17760731,"url":"https://github.com/lequanphat/nestjs-starter-kit","last_synced_at":"2026-04-05T23:02:51.252Z","repository":{"id":259208287,"uuid":"876595469","full_name":"lequanphat/nestjs-starter-kit","owner":"lequanphat","description":"A fundamental approach to start your NestJS application that is based on Hexagonal Architecture.","archived":false,"fork":false,"pushed_at":"2024-10-24T16:15:02.000Z","size":625,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-03T18:47:36.132Z","etag":null,"topics":["bcrypt","env-cmd","handlebars","husky","i18n","jwt","lint-staged","nestjs","nodejs","nodemailer","passport","postgresql","swagger","ts-node","typeorm"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lequanphat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-10-22T08:34:57.000Z","updated_at":"2025-03-04T11:59:06.000Z","dependencies_parsed_at":"2024-10-24T20:31:18.759Z","dependency_job_id":"5d93c342-54b5-4ff4-bc1b-dff7d12f0d40","html_url":"https://github.com/lequanphat/nestjs-starter-kit","commit_stats":null,"previous_names":["lequanphat/nestjs-starter-kit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lequanphat/nestjs-starter-kit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lequanphat%2Fnestjs-starter-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lequanphat%2Fnestjs-starter-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lequanphat%2Fnestjs-starter-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lequanphat%2Fnestjs-starter-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lequanphat","download_url":"https://codeload.github.com/lequanphat/nestjs-starter-kit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lequanphat%2Fnestjs-starter-kit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31452901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"ssl_error","status_checked_at":"2026-04-05T21:22:51.943Z","response_time":75,"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":["bcrypt","env-cmd","handlebars","husky","i18n","jwt","lint-staged","nestjs","nodejs","nodemailer","passport","postgresql","swagger","ts-node","typeorm"],"created_at":"2024-10-26T19:11:18.764Z","updated_at":"2026-04-05T23:02:51.229Z","avatar_url":"https://github.com/lequanphat.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=\"120\" 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[circleci-url]: https://circleci.com/gh/nestjs/nest\n\n  \u003cp align=\"center\"\u003eNestJS Starter Kit is based on Hexagonal Architecture\u003c/p\u003e\n    \u003cp align=\"center\"\u003e\n\n## Description\n\n[Nest](https://github.com/nestjs/nest) framework TypeScript starter repository.\n\n## Features\n\n- [x] Database. Support [TypeORM](https://www.npmjs.com/package/typeorm).\n- [x] Migration and Seeding.\n- [x] Config Service ([@nestjs/config](https://www.npmjs.com/package/@nestjs/config)).\n- [x] Mailing ([nodemailer](https://www.npmjs.com/package/nodemailer)).\n- [x] Sign in and sign up via email.\n- [x] Admin and User roles.\n- [x] Internationalization/Translations (I18N) ([nestjs-i18n](https://www.npmjs.com/package/nestjs-i18n)).\n- [x] Swagger.\n\n## Project setup\n\n```bash\n$ yarn install\n```\n\n## Compile and run the project\n\n```bash\n# development\n$ yarn run start\n\n# watch mode\n$ yarn dev\n\n# production mode\n$ yarn run start:prod\n```\n\n## Hexagonal Architecture\n\n![Hexagonal Architecture Diagram](https://www.happycoders.eu/wp-content/uploads/2023/01/hexagonal-architecture-ddd-domain-driven-design-600x484.png)\n\n## Description of the module structure\n\n```txt\n.\n├── domain/\n│   └── [DOMAIN].ts\n├── dto/\n│   ├── create.dto.ts\n│   ├── update.dto.ts\n│   └── get-all.dto.ts\n├── infrastructure/\n│   ├── entities/\n│   │   └── [ENTITY].ts\n│   ├── mappers/\n│   │   └── [MAPPER].ts\n│   └── repositories/\n│       ├── [ADAPTER].repository.impl.ts\n│       └── [PORT].repository.ts\n├── controller.ts\n├── module.ts\n└── service.ts\n```\n\n`[DOMAIN].ts` represents an entity used in the business logic. Domain entity has no dependencies on the database or any other infrastructure.\n\n`[ENTITY].ts` represents the **database structure**. It is used in the relational database.\n\n`[MAPPER].ts` is a mapper that converts **database entity** to **domain entity** and vice versa.\n\n`[PORT].repository.ts` is a repository **port** that defines the methods for interacting with the database.\n\n`[ADAPTER].repository.impl.ts` is a repository that implements the `[PORT].repository.ts`. It is used to interact with the database.\n\n## License\n\nNest is [MIT licensed](https://github.com/nestjs/nest/blob/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flequanphat%2Fnestjs-starter-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flequanphat%2Fnestjs-starter-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flequanphat%2Fnestjs-starter-kit/lists"}