{"id":31542214,"url":"https://github.com/jaimeyzv/nest-clean-architecture","last_synced_at":"2026-04-13T17:31:18.274Z","repository":{"id":307720493,"uuid":"1029965021","full_name":"jaimeyzv/nest-clean-architecture","owner":"jaimeyzv","description":"Clean Architecture with Node JS using Nest JS, Typescript, TypeORM and SQLServer database following SOLID principles and RESTful as architectural style","archived":false,"fork":false,"pushed_at":"2025-08-20T16:18:18.000Z","size":321,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-07T20:47:31.160Z","etag":null,"topics":["clean-architecture","nestjs","sqlserver","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/jaimeyzv.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":"2025-07-31T21:37:05.000Z","updated_at":"2025-08-20T16:18:21.000Z","dependencies_parsed_at":"2025-08-01T20:44:29.690Z","dependency_job_id":"b9b60449-88e3-430a-a0f8-e89ae8cc0e1b","html_url":"https://github.com/jaimeyzv/nest-clean-architecture","commit_stats":null,"previous_names":["jaimeyzv/nest-clean-architecture"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jaimeyzv/nest-clean-architecture","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaimeyzv%2Fnest-clean-architecture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaimeyzv%2Fnest-clean-architecture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaimeyzv%2Fnest-clean-architecture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaimeyzv%2Fnest-clean-architecture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaimeyzv","download_url":"https://codeload.github.com/jaimeyzv/nest-clean-architecture/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaimeyzv%2Fnest-clean-architecture/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31762462,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"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":["clean-architecture","nestjs","sqlserver","typescript"],"created_at":"2025-10-04T11:32:36.132Z","updated_at":"2026-04-13T17:31:18.269Z","avatar_url":"https://github.com/jaimeyzv.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Clean Architecture with Nest JS\n\n## Description\n\nAlthough I haven’t published a previous article on this topic, I’ve had the opportunity to work on several real-world projects — many of them based in the United States — where we implemented microservices using [Clean Architecture](https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html) principles.\n\n\u003cp align=\"center\"\u003e\n  \u003ca \n    href=\"https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html\" \n    target=\"blank\"\n  \u003e\n    \u003cimg \n      src=\"https://blog.cleancoder.com/uncle-bob/images/2012-08-13-the-clean-architecture/CleanArchitecture.jpg\"\n      width=\"75%\" \n      alt=\"Nest Logo\" \n    /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nRecently, I’ve been working with NestJS and TypeScript, and I found it to be the perfect combination to bring structure and scalability to Node.js applications. The robust typing system of TypeScript, combined with the modular and opinionated design of NestJS, provides a powerful foundation for building maintainable APIs.\n\nComing from a background that values SOLID principles and object-oriented design, it felt natural to apply those principles while designing services, use cases, and domain models.\n\nLike any architectural approach, Clean Architecture involves trade-offs. It's important to strike the right balance — avoiding unnecessary complexity or over-abstraction, while still maintaining flexibility and separation of concerns.\n\nIn my projects, we've adopted the concepts proposed by Robert C. Martin (Uncle Bob) and combined them with ideas from Hexagonal Architecture, Onion Architecture, and Screaming Architecture. The goal has always been to make the application resilient to change, especially given how often client requirements evolve — which, as we all know, is a certainty in software development.\n\nNest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).\n\n## Installation\n\n```bash\n$ npm install\n```\n\n## Running the app\n\n```bash\n# development\n$ npm run start\n\n# watch mode\n$ npm run start:dev\n\n# production mode\n$ npm run start:prod\n```\n\n## Test\n\n```bash\n# unit tests\n$ npm run test\n\n# e2e tests\n$ npm run test:e2e\n\n# test coverage\n$ npm run test:cov\n```\n\n## Support\n\nNest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).\n\n## Stay in touch\n\n- Author - [Jaime Zamora](https://github.com/jaimeyzv)\n\n## License\n\nNest is [MIT licensed](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaimeyzv%2Fnest-clean-architecture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaimeyzv%2Fnest-clean-architecture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaimeyzv%2Fnest-clean-architecture/lists"}