{"id":18614875,"url":"https://github.com/andrewjbateman/nx-angular-router","last_synced_at":"2026-04-29T00:03:47.554Z","repository":{"id":96860841,"uuid":"404037884","full_name":"AndrewJBateman/nx-angular-router","owner":"AndrewJBateman","description":":clipboard: Nx monorepo of Angular Tour of Heroes Router tutorial","archived":false,"fork":false,"pushed_at":"2021-10-24T18:31:35.000Z","size":387,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-27T02:44:50.069Z","etag":null,"topics":["angular","angular12","karma-jasmine","nx","nxp","router"],"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/AndrewJBateman.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":"2021-09-07T15:53:34.000Z","updated_at":"2021-12-01T22:51:06.000Z","dependencies_parsed_at":"2023-03-30T11:36:00.573Z","dependency_job_id":null,"html_url":"https://github.com/AndrewJBateman/nx-angular-router","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/AndrewJBateman%2Fnx-angular-router","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnx-angular-router/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnx-angular-router/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnx-angular-router/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewJBateman","download_url":"https://codeload.github.com/AndrewJBateman/nx-angular-router/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239406449,"owners_count":19633024,"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":["angular","angular12","karma-jasmine","nx","nxp","router"],"created_at":"2024-11-07T03:27:16.476Z","updated_at":"2025-11-03T03:30:29.771Z","avatar_url":"https://github.com/AndrewJBateman.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :zap: Nx Angular Router\n\n* [Angular Tour of Heroes app](https://angular.io/tutorial) converted to Nx monorepo\n* Tutorial code from [Lars Gyrup Brink Nielsen](https://www.youtube.com/c/LarsGyrupBrinkNielsen/videos)\n* **Note:** to open web links in a new window use: _ctrl+click on link_\n\n![GitHub repo size](https://img.shields.io/github/repo-size/AndrewJBateman/nx-angular-router?style=plastic)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/nx-angular-router?style=plastic)\n![GitHub Repo stars](https://img.shields.io/github/stars/AndrewJBateman/nx-angular-router?style=plastic)\n![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/nx-angular-router?style=plastic)\n\n## :page_facing_up: Table of contents\n\n* [:zap: Nx Angular Router](#zap-nx-angular-router)\n  * [:page_facing_up: Table of contents](#page_facing_up-table-of-contents)\n  * [:books: General Info](#books-general-info)\n  * [:camera: Screenshots](#camera-screenshots)\n  * [:signal_strength: Technologies](#signal_strength-technologies)\n  * [:floppy_disk: Setup](#floppy_disk-setup)\n  * [:computer: Code Examples](#computer-code-examples)\n  * [:clipboard: Status \u0026 To-Do List](#clipboard-status--to-do-list)\n  * [:clap: Inspiration](#clap-inspiration)\n  * [:file_folder: License](#file_folder-license)\n  * [:envelope: Contact](#envelope-contact)\n\n## :books: General info\n\n* [Angular Router tutorial: tour of heroes](https://angular.io/guide/router-tutorial-toh) used as starter code\n* Nx uses a single repo for both frontend and backend apps with a shared library.\n* Nx ensures that adding another app to the repo does not increase existing test or build times.\n* Uses computational caching - so test and lint tasks are not repeated on unchanged code.\n* Note: converted Nx app folder size is nearly 0.5 GB\n\n## :camera: Screenshots\n\n![Frontend screenshot](./imgs/heroes.png)\n\n## :signal_strength: Technologies\n\n* [Nx with Angular plugin](https://nx.dev/angular) used to create project workspace\n* [Angular framework v12](https://angular.io/)\n* [@nrwl/workspace v12](https://yarnpkg.com/package/@nrwl/workspace) to transform the Angular CLI workspace to an Nx workspace\n* [rxjs v6](https://rxjs.dev/) Reactive extensions library\n* [Nx Console: VS Code extension](https://marketplace.visualstudio.com/items?itemName=nrwl.angular-console)\n\n## :floppy_disk: Setup\n\n* Install nx globally\n* In app, install dependencies using `yarn`\n* `nx dep-graph` to see a diagram of the dependencies of your projects.\n* `yarn start` to start app on a dev. server\n* `nx serve` for a dev server. Frontend will open at `http://localhost:4200/` - refreshes on code changes\n* `npx nx build nx-angular-router`\n\n**Nest Backend:**\n\n* `npx nx serve api` to serve the backend\n* `npx nx build api` to build the backend\n* `npx nx test api` to test the backend\n\n## :wrench: Testing\n\n* `npx nx e2e todos-e2e --watch` for end to end testing of todos app\n* `npx nx test` to test todos app - tests need fixing\n\n## :computer: Code Examples\n\n* tba\n\n```typescript\n\n```\n\n## :cool: Features\n\n* tba\n\n## :clipboard: Status, To-Do List\n\n* Status: Working.\n* To-Do: Complete\n\n## :clap: Inspiration/General Tools\n\n* [Lars Gyrup Brink Nielsen - Nx After Dark: Migrating an Angular CLI workspace to Nx](https://www.youtube.com/watch?v=5Z55XxZnFkE)\n* [Lars Gyrup Brink Nielsen - Nx After Dark: Extracting features into workspace libraries](https://www.youtube.com/watch?v=7MtQXPIpUoc\u0026t=169s)\n* [Lars Gyrup Brink Nielsen - Nx After Dark: Extracting workspace libraries from an Angular application](https://www.youtube.com/watch?v=SxJD3ttB5go)\n* [Nx: Transitioning to Nx](https://nx.dev/latest/angular/migration/migration-angular)\n* [In Depth Dev: Shell Library patterns with Nx and Monorepo Architectures](https://indepth.dev/posts/1117/the-shell-library-patterns-with-nx-and-monorepo-architectures)\n\n## :file_folder: License\n\n* This project is licensed under the terms of the MIT license.\n\n## :envelope: Contact\n\n* Repo created by [ABateman](https://github.com/AndrewJBateman), email: gomezbateman@yahoo.com","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fnx-angular-router","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewjbateman%2Fnx-angular-router","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fnx-angular-router/lists"}