{"id":14986872,"url":"https://github.com/natchiketa/angular-cli-envvars","last_synced_at":"2025-07-13T03:35:04.545Z","repository":{"id":148158891,"uuid":"94452176","full_name":"natchiketa/angular-cli-envvars","owner":"natchiketa","description":"Example project for my article \"Angular CLI and OS Environment Variables\"","archived":false,"fork":false,"pushed_at":"2017-06-15T15:29:53.000Z","size":13,"stargazers_count":55,"open_issues_count":4,"forks_count":12,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T23:08:21.378Z","etag":null,"topics":["angular","angular-cli","dotenv","environment-variables","npm-scripts","yargs"],"latest_commit_sha":null,"homepage":null,"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/natchiketa.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":"2017-06-15T15:17:26.000Z","updated_at":"2023-01-01T00:53:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"691addf2-f681-44aa-bb11-e7bf7d91aa8c","html_url":"https://github.com/natchiketa/angular-cli-envvars","commit_stats":{"total_commits":2,"total_committers":2,"mean_commits":1.0,"dds":0.5,"last_synced_commit":"5b3021e318eeb6c6979b2dbcceb1fd11b3b7066c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/natchiketa/angular-cli-envvars","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natchiketa%2Fangular-cli-envvars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natchiketa%2Fangular-cli-envvars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natchiketa%2Fangular-cli-envvars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natchiketa%2Fangular-cli-envvars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/natchiketa","download_url":"https://codeload.github.com/natchiketa/angular-cli-envvars/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natchiketa%2Fangular-cli-envvars/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265084151,"owners_count":23708872,"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-cli","dotenv","environment-variables","npm-scripts","yargs"],"created_at":"2024-09-24T14:13:43.651Z","updated_at":"2025-07-13T03:35:04.528Z","avatar_url":"https://github.com/natchiketa.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# angular-cli-envvars (for Angular CLI V1.1.0)\nThis is an example repo to demo the approach to injecting environment variables into dynamically created environment files with the Angular CLI.\n\nThis repo is the subject of my article [\"Angular CLI and OS Environment Variables\"](https://medium.com/@natchiketa/angular-cli-and-os-environment-variables-4cfa3b849659)\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.1.0.\n\n# Quickstart\n\n* Clone the repo and `cd` into it\n* `npm install`\n* `cp .env.example .env`\n* `npm start` to run the dev server\n* `npm build` to build the project (prod mode)\n\n## Development server\n\nRun `npm start` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.\n\n## Code scaffolding\n\nRun `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|module`.\n\n## Build\n\nRun `npm build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.\n\n## Running unit tests\n\nRun `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).\n\n## Running end-to-end tests\n\nRun `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).\nBefore running the tests make sure you are serving the app via `ng serve`.\n\n## Further help\n\nTo get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatchiketa%2Fangular-cli-envvars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnatchiketa%2Fangular-cli-envvars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatchiketa%2Fangular-cli-envvars/lists"}