{"id":18614870,"url":"https://github.com/andrewjbateman/nx-angular-graphql","last_synced_at":"2026-04-11T03:32:58.221Z","repository":{"id":96860837,"uuid":"380454625","full_name":"AndrewJBateman/nx-angular-graphql","owner":"AndrewJBateman","description":":clipboard: Nx monorepo with angular app using graphql to query a Nest backend","archived":false,"fork":false,"pushed_at":"2021-06-27T18:18:26.000Z","size":938,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-27T22:42:16.506Z","etag":null,"topics":["angularjs","backend","css3","graphql","html5","monorepo","nest","nestjs-backend","nestjs-graphql","nx-workspace"],"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-06-26T08:38:18.000Z","updated_at":"2021-06-27T18:18:29.000Z","dependencies_parsed_at":"2023-03-30T11:35:39.685Z","dependency_job_id":null,"html_url":"https://github.com/AndrewJBateman/nx-angular-graphql","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AndrewJBateman/nx-angular-graphql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnx-angular-graphql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnx-angular-graphql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnx-angular-graphql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnx-angular-graphql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewJBateman","download_url":"https://codeload.github.com/AndrewJBateman/nx-angular-graphql/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnx-angular-graphql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31668046,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"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":["angularjs","backend","css3","graphql","html5","monorepo","nest","nestjs-backend","nestjs-graphql","nx-workspace"],"created_at":"2024-11-07T03:27:15.980Z","updated_at":"2026-04-11T03:32:58.191Z","avatar_url":"https://github.com/AndrewJBateman.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :zap: Nx Angular GraphQL\n\n* Nx monorepo with Angular app to display/add tasks from a NestJS backend API using Apollo GraphQL\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-graphql?style=plastic)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/nx-angular-graphql?style=plastic)\n![GitHub Repo stars](https://img.shields.io/github/stars/AndrewJBateman/nx-angular-graphql?style=plastic)\n![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/nx-angular-graphql?style=plastic)\n\n## :page_facing_up: Table of contents\n\n* [General info](#general-info)\n* [Screenshots](#screenshots)\n* [Technologies](#technologies)\n* [Setup](#setup)\n* [Features](#features)\n* [Status](#status)\n* [Inspiration](#inspiration)\n* [Contact](#contact)\n\n## :books: General info\n\n* Nx workspace for both front and backends\n* GraphQL typed schema used with code-generator to autogenerate frontend code\n* Apollo Client stores the results of its GraphQL queries in a normalized, in-memory cache using the 'InMemoryCache' class\n* Data-access library used to handle communication with the backend.\n* Feature Tasks library with container components for displaying task data.\n\n## :camera: Screenshots\n\n![Frontend screenshot](./imgs/home.png)\n\n## :signal_strength: Technologies\n\n* [Nx v12](https://nx.dev) build framework used to create project workspace\n* [Angular framework v12](https://angular.io/) for frontend tasks view\n* [NestJS v7](https://nestjs.com/) for backend API\n* [GraphQL v15](https://graphql.org/) API query language with [graphql-tools](https://github.com/ardatan/graphql-tools#readme)\n* [npm Apollo Angular v2](https://www.npmjs.com/package/apollo-angular) to fetch task data from the GraphQL server and display it in the Angular UI\n* [npm apollo-server-express v2](https://www.npmjs.com/package/apollo-server-express) Express and Connect integration of GraphQL Server\n* [GraphQL Code Generator v1](https://www.graphql-code-generator.com/) CLI tool \u0026 modules used to generate Typescript typings. `libs/data-access/codegen.yml` file configures the code generator\n* [Random image source](https://picsum.photos/) - free placeholder images\n\n## :floppy_disk: Setup\n\n* Install dependencies using `npm i`\n* Run `nx dep-graph` to see a diagram of the dependencies of the project.\n* Run `npm start api` for a backend dev server. View GraphQL playground at\n  `http://localhost:3333/graphql`\n* Run `npm start nx-angular-graphql` for a frontend\n* Run `npm run lint` to lint test entire client-side codebase using ESLint. All files pass.\n* Run `nx build `nx-angular-graphql` to generate a build file\n\n## :wrench: Testing\n\n* tba\n\n## :computer: Code Examples\n\n* `schema.graphql` allTasks query and addTask mutation\n\n```typescript\ntype Task {\n  id: Int!\n  name: String\n  deadline: String\n  hours: Int\n}\n\ntype Query {\n  allTasks: [Task]\n}\n\ntype Mutation {\n  addTask(name: String, deadline: String, hours: Int): Task\n}\n```\n\n## :cool: Features\n\n* monorepo organised libraries etc. makes for tidier code\n* GraphQL interface\n\n## :clipboard: Status, Testing \u0026 To-Do List\n\n* Status: Working\n* Testing: unit and end-end tests not completed\n* To-Do: change deadline from simple string to a Date, change random image for icon? add detail to task?\n\n## :clap: Inspiration/General Tools\n\n* [Nx documentation](https://nx.dev/angular)\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-graphql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewjbateman%2Fnx-angular-graphql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fnx-angular-graphql/lists"}