{"id":21927932,"url":"https://github.com/giuliano-marinelli/app-client","last_synced_at":"2026-04-05T20:35:46.882Z","repository":{"id":219348146,"uuid":"748811831","full_name":"giuliano-marinelli/app-client","owner":"giuliano-marinelli","description":"Template for web application based on Angular for the frontend an Nest for the backend. It includes: user authentication and management via JWT and device detection; authorization management via CASL; GraphQL for query endpoints; Mongoose for connecting wiht MongoDB and filtering, sorting and pagination structures. This is the front-end.","archived":false,"fork":false,"pushed_at":"2024-05-13T14:07:06.000Z","size":747,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T11:45:52.665Z","etag":null,"topics":["angular","graphql"],"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/giuliano-marinelli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-01-26T19:51:04.000Z","updated_at":"2024-09-26T12:32:09.000Z","dependencies_parsed_at":"2025-01-27T11:54:43.726Z","dependency_job_id":null,"html_url":"https://github.com/giuliano-marinelli/app-client","commit_stats":null,"previous_names":["giuliano-marinelli/app-client"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuliano-marinelli%2Fapp-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuliano-marinelli%2Fapp-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuliano-marinelli%2Fapp-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuliano-marinelli%2Fapp-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/giuliano-marinelli","download_url":"https://codeload.github.com/giuliano-marinelli/app-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244952803,"owners_count":20537474,"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","graphql"],"created_at":"2024-11-28T22:19:27.782Z","updated_at":"2025-12-30T23:48:50.571Z","avatar_url":"https://github.com/giuliano-marinelli.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# App _2025_\n\n_This repository contains the **frontend**._\n\nIt's an [Angular](https://angular.dev/) project that is served by the [app-server](https://github.com/giuliano-marinelli/app-server) via [Express](https://expressjs.com). It uses [Angular Material](https://material.angular.dev/) for UI components and [Tailwind](https://tailwindcss.com/) for utility-first styling, and [GraphQL](https://graphql.org/) + [Apollo](https://www.apollographql.com/) for query the application endpoints.\n\nAdditionally, it uses [Apollo Dynamic](https://github.com/giuliano-marinelli/apollo-dynamic) + [Apollo Dynamic Angular](https://github.com/giuliano-marinelli/apollo-dynamic-angular) for dynamic GraphQL queries and mutations.\n\n## Setup\n\n1. Install [Node.js](https://nodejs.org)\n2. Install [Angular CLI](https://angular.dev/tools/cli): `npm install -g @angular/cli`\n3. From project root folder install all the dependencies: `npm install`\n4. To be served by [app-server](https://github.com/giuliano-marinelli/app-server), it must be located at sibling folder of this project, as shown:\n\n```\napp\n└─ app-client\n└─ app-server\n   └─ uploads (this is where server saves users uploaded files)\n```\n\n## Run\n\n### Development\n\nRun `npm run start`: execute [ng serve](https://angular.dev/cli/serve) that makes a virtual server on memory and host Angular page at [localhost:4200](http://localhost:4200). Any change automatically creates a new bundle. _(**Note:** with this command you will not be able to do queries to [app-server](https://github.com/giuliano-marinelli/app-server) because this won't generate **dist** folder to be served by [app-server](https://github.com/giuliano-marinelli/app-server) and so the projects will not be at same path)_\n\nRun `npm run build:dev` or `npm run build:watch`: execute [ng build](https://angular.dev/cli/build) with development environment and watch mode (if corresponding command is used), it compiles to **dist** folder at the project root folder. You also need to execute [app-server](https://github.com/giuliano-marinelli/app-server) for see Angular page hosted by it at [localhost:3000](http://localhost:3000). Any change on source code automatically creates a new bundle if in watch mode.\n\n### Production\n\nRun `npm run build:prod`: executes [ng build](https://angular.dev/cli/build) with production environment, it compiles to **dist** folder at the project root folder. Then it can be served by [app-server](https://github.com/giuliano-marinelli/app-server), in the same way as the development build.\n\n### Format and Lint\n\nRun `npm run format`: formats the code using [Prettier](https://prettier.io/), which enforces a consistent style.\n\nRun `npm run lint`: runs [ESLint](https://eslint.org/) to lint the code, for catching potential errors and enforcing coding standards.\n\nRun `npm run lint:fix`: runs [ESLint](https://eslint.org/) to lint the code, and automatically fix linting errors and warnings.\n\n### Test\n\nRun `npm run test` or `npm run test:watch`: executes [ng test](https://angular.dev/guide/testing) to run the unit tests in watch mode (if corresponding command is used) using [Karma](https://karma-runner.github.io) as the test runner and [Jasmine](https://jasmine.github.io/) as the testing framework. Any change on source code automatically creates a new bundle if in watch mode.\n\nRun `npm run test:cov`: executes [ng test](https://angular.dev/guide/testing/code-coverage) to run the unit tests and generate a code coverage report.\n\nRun `npm run test:e2e`: executes [ng e2e](https://angular.dev/tools/cli/end-to-end) to run the end-to-end tests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiuliano-marinelli%2Fapp-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiuliano-marinelli%2Fapp-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiuliano-marinelli%2Fapp-client/lists"}