{"id":15960256,"url":"https://github.com/christophercr/angular-architecture","last_synced_at":"2025-08-22T06:40:30.731Z","repository":{"id":97620071,"uuid":"287751468","full_name":"christophercr/angular-architecture","owner":"christophercr","description":"Material and exercises for the Angular Architecture training","archived":false,"fork":false,"pushed_at":"2023-02-26T04:12:02.000Z","size":916,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-08T12:50:03.233Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/christophercr.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":"2020-08-15T13:25:58.000Z","updated_at":"2020-08-20T17:36:03.000Z","dependencies_parsed_at":"2023-06-02T01:45:59.431Z","dependency_job_id":null,"html_url":"https://github.com/christophercr/angular-architecture","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"8af4edf7fa41789ed06bb931e0d221fb96f9d08e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christophercr%2Fangular-architecture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christophercr%2Fangular-architecture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christophercr%2Fangular-architecture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christophercr%2Fangular-architecture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/christophercr","download_url":"https://codeload.github.com/christophercr/angular-architecture/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232037514,"owners_count":18463720,"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-10-07T15:01:54.701Z","updated_at":"2025-01-01T00:16:54.912Z","avatar_url":"https://github.com/christophercr.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Angular Starter\n\n## Features\n\nPages:\n\n-   Login\n-   Register\n-   Confirm account\n-   Forgot password\n-   Edit profile, password, picture\n-   List all users (see user information, delete user)\n-   404 Not found\n-   503 Unavailable\n\nServices, pipes, guards:\n\n-   Api (GET, POST, PATCH, DELETE request json or formData)\n-   Toast (info, success, warning, error toast with translation)\n-   Errors handler (catch errors from backend and show alert with/without redirection/logout)\n-   Session (current user)\n-   Storage (local storage)\n-   Translate (detect default language, keep selected language, pipe)\n-   Events publisher\n-   Pipe local date (handle language wording of dates)\n-   Connected guard, admin guard\n-   Modal (text or component, with action \u0026 cancel button)\n\nComponents:\n\n-   Loader (loader singleton if many requests)\n-   Spinner (with label if no result)\n-   Input text with label, icon, required, disabled, pattern, min/max length, error messages (type: text, email, password, textarea, checkbox)\n-   Input file with label, icon, required, disabled, extensions check, size check, error messages\n-   ❌ Select\n-   Menu\n\nDivers:\n\n-   Lazy loading\n-   Integration (grids, variables,...)\n-   Handle differents environments (local, dev, staging, prod)\n-   Alias for imports\n-   Extract keys to translate in all files (ngx-translate-extract)\n-   Check commit convention before commit (husky)\n-   CI (Jira flow, deploy, env by feature, ❌ code quality,...)\n\n## Commands\n\n### Serve\n\n| Environment     | Command               | API URL                                                         |\n| --------------- | --------------------- | --------------------------------------------------------------- |\n| **local**       | `ng serve -c local`   | \u003chttp://localhost:3000\u003e |\n| **development** | `ng serve -c dev`     | \u003chttp://localhost:3000\u003e |\n| **staging**     | `ng serve -c staging` | \u003chttp://localhost:3000\u003e |\n| **production**  | `ng serve -c prod`    | \u003chttp://localhost:3000\u003e |\n\n### Build\n\n| Environment     | Command                 | API URL                                                         |\n| --------------- | ----------------------- | --------------------------------------------------------------- |\n| **development** | `yarn build -c dev`     | \u003chttp://localhost:3000\u003e |\n| **staging**     | `yarn build -c staging` | \u003chttp://localhost:3000\u003e |\n| **production**  | `yarn build -c prod`    | \u003chttp://localhost:3000\u003e |\n\n### Clean\n\n`ng lint --fix`\n\n### Export translation\n\n`yarn translations`\n\nOn Windows you must specify each output destination individually:\n\nin **package.json** :\n\n```json\n\"scripts\": {\n  ...\n  \"translations\": \"ngx-translate-extract --output ./src/assets/i18n/en.json ...\"\n}\n```\n\nngx-translate-extract --input ./src --output ./src/i18n/da.json ./src/i18n/en.json\n\n## Alias\n\nin **tsconfig.json** :\n\n```json\n\"compilerOptions\" : {\n  ...\n  \"paths\": {\n    \"@newAlias/*\": [ \"pathToFolder/*\" ],\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristophercr%2Fangular-architecture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchristophercr%2Fangular-architecture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristophercr%2Fangular-architecture/lists"}