{"id":16773583,"url":"https://github.com/wkylin/ng5-starter","last_synced_at":"2025-08-17T21:12:23.178Z","repository":{"id":145689465,"uuid":"112941775","full_name":"wkylin/ng5-starter","owner":"wkylin","description":"Angular 6.0 Starter...","archived":false,"fork":false,"pushed_at":"2018-05-20T15:23:06.000Z","size":2061,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-17T21:03:07.936Z","etag":null,"topics":["angular","http-mock","http-server","typscript"],"latest_commit_sha":null,"homepage":"https://stackblitz.com/github/wkylin/ng5-starter","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/wkylin.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-12-03T15:58:45.000Z","updated_at":"2021-04-14T16:09:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"53c4ac62-50c3-4806-81e0-e910b55b461b","html_url":"https://github.com/wkylin/ng5-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wkylin/ng5-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkylin%2Fng5-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkylin%2Fng5-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkylin%2Fng5-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkylin%2Fng5-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wkylin","download_url":"https://codeload.github.com/wkylin/ng5-starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkylin%2Fng5-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270906477,"owners_count":24665792,"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","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"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":["angular","http-mock","http-server","typscript"],"created_at":"2024-10-13T06:46:21.040Z","updated_at":"2025-08-17T21:12:23.115Z","avatar_url":"https://github.com/wkylin.png","language":"TypeScript","readme":"# Angular Starter\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 6.0.0.\n\n## Development server\n\nRun `npm run mock:porxy` for a dev server. Navigate to `http://localhost:4204/`. 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|guard|interface|enum|module`.\n\n## Build \n\nRun `ng 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/).\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\n\n## Demo\n\n1. [https://stackblitz.com/github/wkylin/ng5-starter](https://stackblitz.com/github/wkylin/ng5-starter)\n\n2. [https://github.com/wkylin/ng5-starter](https://github.com/wkylin/ng5-starter)\n\n## Update angular6.0\n\n1. npm uninstall -g @angular/cli\n2. npm install -g @angular/cli\n3. npm install  @angular/cli\n4. ng update  @angular/cli\n5. ng update @angular/core\n6. ng update @angular/material\n7. ng add rxjs-compat || npm install rxjs-compat --save\n\n## Cygwin \n1. 安装Cygwin https://cygwin.com/\n2. C:\\cygwin64\\home\\UserName\n3. openssl genrsa -out key.pem 1024\n4. openssl req -new -key key.pem -out cert.csr\n5. openssl x509 -req -in cert.csr -signkey key.pem -out cert.pem\n6. http-server -S  -C cert.pem -K key.pem\n\n## Ngrok\n1. \"build\": \"ng build --prod\",\n2. \"http:server\": \"cd dist \u0026\u0026 http-server -p 9088\",\n3. \"ngr\": \"ngrok http 9088\",\n\n## Run \n1. mock:proxy\n2. build \u0026\u0026 express:data \u0026\u0026 cd dist/browser \u0026\u0026 http-server -p 8088 \u0026\u0026 ngrok http 8088\n\n## angular-json-server\n1. https://my-json-server.typicode.com/wkylin/angular-json-server\n\n\n## angular-cli-ghpages\n1. 调整angular.json \"outputPath\": \"dist/browser\" 为 \"outputPath\": \"dist\"\n2. ServiceWorkerModule.register('/ng5-starter/ngsw-worker.js', {enabled: environment.production})\n3. build:ngh\n4. ngh\n5. https://wkylin.github.io/ng5-starter/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwkylin%2Fng5-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwkylin%2Fng5-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwkylin%2Fng5-starter/lists"}