{"id":19763629,"url":"https://github.com/yerinadler/typescript-ddd-sample-app","last_synced_at":"2025-08-05T22:25:52.827Z","repository":{"id":53093633,"uuid":"323846269","full_name":"yerinadler/typescript-ddd-sample-app","owner":"yerinadler","description":"This project demonstrates the implementation of Domain Driven Design concept in Typescript","archived":false,"fork":false,"pushed_at":"2021-04-07T05:11:25.000Z","size":327,"stargazers_count":15,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-09T08:21:53.968Z","etag":null,"topics":["architecture","boilerplate","mongodb","typescript"],"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/yerinadler.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-23T08:30:26.000Z","updated_at":"2023-01-16T17:53:20.000Z","dependencies_parsed_at":"2022-08-22T15:00:42.622Z","dependency_job_id":null,"html_url":"https://github.com/yerinadler/typescript-ddd-sample-app","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yerinadler%2Ftypescript-ddd-sample-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yerinadler%2Ftypescript-ddd-sample-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yerinadler%2Ftypescript-ddd-sample-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yerinadler%2Ftypescript-ddd-sample-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yerinadler","download_url":"https://codeload.github.com/yerinadler/typescript-ddd-sample-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224214066,"owners_count":17274524,"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":["architecture","boilerplate","mongodb","typescript"],"created_at":"2024-11-12T04:10:24.793Z","updated_at":"2024-11-12T04:10:25.359Z","avatar_url":"https://github.com/yerinadler.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TypeScript DDD API Boilerplate\nSeed project (boilerplate) for RESTful API that leverages the concept of Domain Driven Design (DDD)\n\n### Foreword from the author\nThis API project utilises information from multiple sources to create the fine-tuned API product with the following objectives\n\n1. To build a maintainable enterprise grade application\n2. The application that follows `SOLID` principles as much as possible\n3. To build an pplication that benefits most of the stakeholders in an organisation\n\n### Architecture\nThis project uses DDD with Onion Architecture as illustrated in below images\n\n![](https://image.slidesharecdn.com/applifireblueprintguidelinesv22-151216102708/95/applifire-blue-print-design-guidelines-12-638.jpg?cb=1450261807)\n\n### Technologies\n1. Node.js\n2. TypeScript\n3. MongoDB with MongoDB native driver (mongodb package on NPM)\n4. InversifyJS as an IoC container\n5. Express (via Inversify Express Utils) as an API framework\n\n## Getting Started\nTo run the project, make sure you have these dependencies installed on your system\n\n1. Node.js v8 or later\n2. Typescript with `tsc` command\n3. Nodemon\n4. ts-node\n5. MongoDB\n\nYou also need to setup and initialise MongoDB database. Then, copy the `.env_example` file into `.env` file by firing the command\n\n````bash\ncp .env_template .env\n````\n\nDo adjust the DB_NAME and MONGODB_URI to match your configuration then run\n\n````bash\nyarn dev\n````","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyerinadler%2Ftypescript-ddd-sample-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyerinadler%2Ftypescript-ddd-sample-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyerinadler%2Ftypescript-ddd-sample-app/lists"}