{"id":16721733,"url":"https://github.com/zoltan-nz/hello-angular","last_synced_at":"2026-01-21T10:37:44.253Z","repository":{"id":38765881,"uuid":"80195006","full_name":"zoltan-nz/hello-angular","owner":"zoltan-nz","description":"Awesome Angular Experiments - Be careful, you can find here amazing hidden gems...","archived":false,"fork":false,"pushed_at":"2023-01-07T04:57:22.000Z","size":3168,"stargazers_count":2,"open_issues_count":25,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T23:44:52.698Z","etag":null,"topics":["angular","mirage","spectator"],"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/zoltan-nz.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":"2017-01-27T09:28:21.000Z","updated_at":"2020-07-15T12:19:08.000Z","dependencies_parsed_at":"2023-02-06T12:32:27.951Z","dependency_job_id":null,"html_url":"https://github.com/zoltan-nz/hello-angular","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zoltan-nz/hello-angular","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoltan-nz%2Fhello-angular","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoltan-nz%2Fhello-angular/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoltan-nz%2Fhello-angular/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoltan-nz%2Fhello-angular/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zoltan-nz","download_url":"https://codeload.github.com/zoltan-nz/hello-angular/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoltan-nz%2Fhello-angular/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28631937,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","mirage","spectator"],"created_at":"2024-10-12T22:32:03.713Z","updated_at":"2026-01-21T10:37:44.234Z","avatar_url":"https://github.com/zoltan-nz.png","language":"TypeScript","readme":"# HelloAngular\n\nNotes, tutorials, experiments, playground for Angular 9+\n\n```\nng serve\n\nng generate\n\n  Collection \"@schematics/angular\" (default):\n    appShell\n    application\n    class\n    component\n    directive\n    enum\n    guard\n    interface\n    library\n    module\n    pipe\n    service\n    serviceWorker\n    universal\n    webWorker\n\nng build\nng build --prod\n\nng test\nng e2e\n```\n\n## Added features\n\n- [x] Prettier\n- [x] Replace Karma with Jest\n- [x] Replace Protractor with Puppeteer\n- [x] Use Spectator as test helper\n- [x] Add Husky\n\n## Authentication\n\n- [ ] Create a login page (Form: username, password, submit)\n- [ ] POST credentials to /api/login\n- [ ] Use response headers and interceptors to track auth sessions\n- [ ] Dealing with session cookies\n- [ ] Add AuthGuard\n- [ ] Create CurrentUser service\n\n## Mirage.js\n\n- [ ] Add/remove Mirage.js from production build.\n- [ ] Activate/deactivate Mirage.js before Angular Router.\n\n## Bootstrap 4\n\nOption #1: Original Bootstrap 4.\n\n```zsh\n$ yarn add bootsrap\n$ yarn add jquery\n$ yarn add popper.js\n$ echo '@import \"~bootstrap\";' \u003e\u003e src/styles.scss\n```\n\nExtend `angular.json` to import external packages in `projects \u003e hello-angular \u003e architect \u003e build \u003e options`.\n\n```zsh\n\"scripts\": [\n  \"./node_modules/jquery/dist/jquery.slim.min.js\",\n  \"./node_modules/popper.js/dist/umd/popper.min.js\",\n  \"./node_modules/bootstrap/dist/js/bootstrap.min.js\"\n]\n```\n\nOption #2: [`ng-bootstrap`](https://ng-bootstrap.github.io/#/home). No animation and custom API.\n\n```zsh\n$ yarn add bootstrap\n$ echo '@import \"~bootstrap\";' \u003e\u003e src/styles.scss\n$ yarn add @ng-bootstrap/ng-bootstrap\n```\n\nOption #3: [`ngx-bootstrap`](https://valor-software.com/ngx-bootstrap/#/)\n\n- It comes with animation out of the box.\n- This is my suggested package.\n\n```zsh\n$ yarn add ngx-bootstrap bootstrap\n```\n\nInstead of importing files in `angular.json` add import to `styles.scss`.\n\n```scss\n@import '~bootstrap';\n@import '~ngx-bootstrap/datepicker/bs-datepicker';\n```\n\n## My Store App\n\n- [ ] Add new `\"store\"` route to `app-routing.module.ts`.\n- [ ] Add top bar with store name and checkout icon\n\n- [ ] Add title for product list\n\n## Replace karma unit test with Jest\n\n```\nng add @briebug/jest-schematic\n```\n\n- Check `package.json` file. Remove almost everything which is `karma` and `jasmine` related. You can remove the `@briebug/jest-schematic` also.\n- If you need `protractor`, you can keep the `jasmine-spec-reporter` package.\n- Run `yarn format`.\n\nKnown issue: projects are not supported out of the box, they need a manual adjustment.\n\n## Spectator\n\nAdd Spectator as default collection:\n\n```\n$ ng config cli.defaultCollection @ngneat/spectator\n```\n\n## Reading\n\n- [How to split into modules?](https://malcoded.com/posts/angular-fundamentals-modules/)\n- [Angular Unit Testing](https://dev.to/wescopeland/easier-angular-unit-testing-4aic)\n\n## Authentication\n\n- [Article](https://jasonwatmore.com/post/2019/06/22/angular-8-jwt-authentication-example-tutorial)\n- [Sample App](https://stackblitz.com/edit/angular-8-jwt-authentication-example)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoltan-nz%2Fhello-angular","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzoltan-nz%2Fhello-angular","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoltan-nz%2Fhello-angular/lists"}