{"id":21031531,"url":"https://github.com/slaveofcode/poc-nestjs-modular-typeorm","last_synced_at":"2025-12-30T00:08:42.503Z","repository":{"id":92795605,"uuid":"472462086","full_name":"slaveofcode/poc-nestjs-modular-typeorm","owner":"slaveofcode","description":null,"archived":false,"fork":false,"pushed_at":"2022-03-22T04:07:36.000Z","size":158,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2025-01-20T15:23:36.291Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/slaveofcode.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":"2022-03-21T18:25:30.000Z","updated_at":"2022-03-21T18:46:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"2aa15151-81d5-452f-9fb5-79c5f856f1a1","html_url":"https://github.com/slaveofcode/poc-nestjs-modular-typeorm","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/slaveofcode%2Fpoc-nestjs-modular-typeorm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slaveofcode%2Fpoc-nestjs-modular-typeorm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slaveofcode%2Fpoc-nestjs-modular-typeorm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slaveofcode%2Fpoc-nestjs-modular-typeorm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slaveofcode","download_url":"https://codeload.github.com/slaveofcode/poc-nestjs-modular-typeorm/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243472090,"owners_count":20296263,"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":[],"created_at":"2024-11-19T12:29:08.134Z","updated_at":"2025-12-30T00:08:42.476Z","avatar_url":"https://github.com/slaveofcode.png","language":"TypeScript","readme":"# POC of Modular NestJs Project Using Typeorm\n\n## Step\n\n#### Create empty database\n\nCreate new database, then configure these related entity for database connection\n\n1. go to `main-project/src/app.module.ts` to update database connection for **example** module. \n2. create file `main-project/.env`, based on `.env.example` to update database connection for **main-project** module\n\n#### Build or Running Example Module\n\n1. `cd example`\n2. `npm i`\n3. `npm run build` or `npm run start:dev` to generate `dist` sources\n\n#### Include \u0026 Running Example from Main Project\n\n1. `cd main-project`\n2. `npm i`\n3. `npm i ../example`\n4. `npm run start:dev` to run the server\n\n\n## Test\n\n#### Call module \"example\" from \"main-project\"\n\n```curl\ncurl http://localhost:3000/todo \n```\n\n#### Call service from \"example\" module (if you running it as a server too)\n\n```curl\ncurl http://localhost:6000/todo \n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslaveofcode%2Fpoc-nestjs-modular-typeorm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslaveofcode%2Fpoc-nestjs-modular-typeorm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslaveofcode%2Fpoc-nestjs-modular-typeorm/lists"}