{"id":25272054,"url":"https://github.com/gesielrosa/angular-starter-app","last_synced_at":"2025-10-27T09:31:49.375Z","repository":{"id":44718242,"uuid":"428780608","full_name":"gesielrosa/angular-starter-app","owner":"gesielrosa","description":"🏁 Preconfigured Angular Universal starter project. (ssr, i18n, cache state, cookies, .env, eslint, prettier)","archived":false,"fork":false,"pushed_at":"2022-03-29T00:33:54.000Z","size":347,"stargazers_count":9,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-03-07T05:02:58.672Z","etag":null,"topics":["angular","angular-universal","starter-app","starter-kit","starter-project"],"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/gesielrosa.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}},"created_at":"2021-11-16T19:02:51.000Z","updated_at":"2022-07-18T11:48:40.000Z","dependencies_parsed_at":"2022-09-04T08:00:20.496Z","dependency_job_id":null,"html_url":"https://github.com/gesielrosa/angular-starter-app","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gesielrosa%2Fangular-starter-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gesielrosa%2Fangular-starter-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gesielrosa%2Fangular-starter-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gesielrosa%2Fangular-starter-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gesielrosa","download_url":"https://codeload.github.com/gesielrosa/angular-starter-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238472836,"owners_count":19478293,"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","angular-universal","starter-app","starter-kit","starter-project"],"created_at":"2025-02-12T12:39:15.095Z","updated_at":"2025-10-27T09:31:48.924Z","avatar_url":"https://github.com/gesielrosa.png","language":"TypeScript","readme":"# Angular Starter Application\n\nAngular version: `13.1.3`\n\n### Preconfigured\n```\n- Angular Universal (server side rendering)\n- i18n (Multi languages)\n- Cache http requests state (server state to client state)\n- Cookies\n- Dotenv environments setup\n- registerLocaleData (pt)\n- ESLint\n- Prettier\n```\n\n### Environments\n\n- Create a `.env` file in project root;\n- Use `.env.EXAMPLE` as example;\n- Exec `npm run config` command to generate TS environment file;\n\n### i18n - Multi languages\n\n- There are two preconfigured languages, `pt-br` and `en-us`;\n- You can add more creating `.json` files with language short name in `assets/i18n/`;\n- To change language in runtime, use `LanguageService` to do this;\n- [Read docs](https://github.com/ngx-translate/core)\n\n### Cookies\n\n- Persist data with cookie (Good to use in SSR, for auth, for example);\n- Use `CookiesService` to manage cookies;\n- [Read docs](https://github.com/salemdar/ngx-cookie)\n\n### Cache - Transfer State\n\n- All success http requests are cached and transferred to client app (to avoid double requests);\n- You can make changes in `BrowserStateInterceptor` to improve cache method;\n\n### Prettier\n\n- Exec `npm run prettier` to format files;\n- [Read docs](https://prettier.io/docs/en/index.html)\n\n### Linter (ESLint)\n\n- Exec `npm run lint` to analyze files;\n- [Read docs](https://github.com/angular-eslint/angular-eslint)\n\n### Run dev server\n\n- Exec `npm run start` to run dev server;\n- Exec `npm run start:ssr` to run dev SSR server;\n\n### Build production\n\n#### Client only\n\n- Exec `npm run build` to build client app only;\n- Browser dist files are in `dist/my-app/browser`;\n\n#### Client and server\n\n- Exec `npm run build:ssr` to build client and server;\n- Browser dist files are in `dist/my-app/browser`;\n- Server dist files are in `dist/my-app/server`;\n\n\u003chr\u003e\n\n[@gesielrosa](https://gesiel.com)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgesielrosa%2Fangular-starter-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgesielrosa%2Fangular-starter-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgesielrosa%2Fangular-starter-app/lists"}