{"id":18614873,"url":"https://github.com/andrewjbateman/nx-angular-app","last_synced_at":"2026-05-01T06:34:07.877Z","repository":{"id":96860814,"uuid":"372257244","full_name":"AndrewJBateman/nx-angular-app","owner":"AndrewJBateman","description":":clipboard: Nx setup with Angular todo list app, testing and connection to a Nest.js API","archived":false,"fork":false,"pushed_at":"2021-09-08T06:45:24.000Z","size":500,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-17T01:34:26.946Z","etag":null,"topics":["angular","angular12","backend","frontend","jest-tests","nestjs-backend","nx-workspace","tutorial-code"],"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-05-30T16:00:08.000Z","updated_at":"2021-09-08T06:45:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"fb546959-783f-4713-a195-0da4eaae3eea","html_url":"https://github.com/AndrewJBateman/nx-angular-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AndrewJBateman/nx-angular-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnx-angular-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnx-angular-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnx-angular-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnx-angular-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewJBateman","download_url":"https://codeload.github.com/AndrewJBateman/nx-angular-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnx-angular-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32487589,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["angular","angular12","backend","frontend","jest-tests","nestjs-backend","nx-workspace","tutorial-code"],"created_at":"2024-11-07T03:27:16.322Z","updated_at":"2026-05-01T06:34:07.855Z","avatar_url":"https://github.com/AndrewJBateman.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :zap: Nx Angular App\n\n* Angular app to show list of todos stored in a backend\n* Tutorial code from [Nx](https://nx.dev/latest/angular/tutorial/01-create-application)\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-app?style=plastic)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/nx-angular-app?style=plastic)\n![GitHub Repo stars](https://img.shields.io/github/stars/AndrewJBateman/nx-angular-app?style=plastic)\n![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/nx-angular-app?style=plastic)\n\n## :page_facing_up: Table of contents\n\n* [:zap: Nx Angular App](#zap-nx-angular-app)\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* 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* Nx can create a dependency diagram - see screenshot below.\n\n## :camera: Screenshots\n\n![Frontend screenshot](./img/dep_graph.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* [Nest Plugin v7](https://nx.dev/latest/angular/nest/overview)\n\n## :floppy_disk: Setup\n\n* Install nx using `npm install -g nx`\n* In app, install dependencies using `npm i`\n* `nx dep-graph` to see a diagram of the dependencies of your projects.\n* `nx serve todos` for a dev server. Frontend will open at `http://localhost:4200/` - refreshes on code changes\n* `npx nx build todos`\n* `npx nx lint todos --with-deps` to lint todos app \u0026 libraries\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* From `app.service.ts`: a simple function to create a random todo title string\n\n```typescript\naddTodo() {\n    this.todos.push({\n      title: `New todo ${Math.floor(Math.random() * 1000)}`,\n    });\n  }\n```\n\n## :cool: Features\n\n* tba\n\n## :clipboard: Status, To-Do List\n\n* Status: Working.\n* To-Do: `nxapp\\apps\\todos\\src\\app\\app.component.spec.ts` test specs need to be updated.\n\n## :clap: Inspiration/General Tools\n\n* [Angular Nx Tutorial - Step 1: Create Application](https://nx.dev/latest/angular/tutorial/01-create-application)\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\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fnx-angular-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewjbateman%2Fnx-angular-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fnx-angular-app/lists"}