{"id":21058328,"url":"https://github.com/gokemon/hero-staffing","last_synced_at":"2026-04-13T21:31:57.639Z","repository":{"id":122181083,"uuid":"90681539","full_name":"gokemon/hero-staffing","owner":"gokemon","description":"sample staffing firm app using Angular 2 CLI","archived":false,"fork":false,"pushed_at":"2017-05-10T03:50:05.000Z","size":196,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-02T00:55:23.575Z","etag":null,"topics":["angular","angular-cli","angular-components","router"],"latest_commit_sha":null,"homepage":"https://gokemon.github.io/hero-staffing/","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/gokemon.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":"2017-05-08T23:29:59.000Z","updated_at":"2017-05-16T21:43:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"d33ba9b3-eac1-4362-955f-04a92d88253b","html_url":"https://github.com/gokemon/hero-staffing","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/gokemon/hero-staffing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gokemon%2Fhero-staffing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gokemon%2Fhero-staffing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gokemon%2Fhero-staffing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gokemon%2Fhero-staffing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gokemon","download_url":"https://codeload.github.com/gokemon/hero-staffing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gokemon%2Fhero-staffing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31771815,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T20:17:16.280Z","status":"ssl_error","status_checked_at":"2026-04-13T20:17:08.216Z","response_time":93,"last_error":"SSL_read: 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","angular-cli","angular-components","router"],"created_at":"2024-11-19T17:07:35.312Z","updated_at":"2026-04-13T21:31:57.588Z","avatar_url":"https://github.com/gokemon.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HeroStaffing\n\nThis is the Tour of Heros, from the [Angular 2 docs tutorial](https://angular.io/docs/ts/latest/tutorial/).\nI am also using the angular 2 CLI as my build tool. And editing the instructions from the tutorial to fit my needs.\n\nI think this will make a nice module for staffing. I also like my product management application module. This is part of my step-by-step learning process towards building an enterprise-type business application. I want to master routing, forms, and putting several different \"baby\" apps together.\n\n\n\n- We declared the required application directives in an Angular module.\n- You listed the directives in the NgModule decorator's declarations array.\n- You learned to bind a parent component to a child component.\n- Like when you change a name in hero-detail.component, \n\tit shows up in the master list in the app.component.\n- So our app is more reusable with shared components, but its (mock) data is still hard coded within the AppComponent. That's not sustainable. Data access should be re-factored to a separate service and shared among the components that need data.\n\n\n## Next steps,\n\n- Need to learn to use Step-Tags in my Git workflow process. I used Branches pretty well in my [Angular-CLI-ToDos project](https://github.com/gokemon/Angular-CLI-ToDos);\n\t- Master branch\n\t- FirstBasicAppComponent branch\n\t- ComponentRefactoring branch\n\t- GH-pages branch\n\t- *[Tagging Steps](http://alblue.bandlem.com/2011/04/git-tip-of-week-tags.html)*\n- Our next step (Step Five, 1.1.5) in the Staffing Firm project is ***Creating Services***\n- Then Adding Router and learning to navigate among the views\n- Lastly, you’ll replace the mock data with data retrieved from a server using http.\n\n### Step Five ~ Creating Services\n\nAs the app evolves, we'll add more components that need access to hero data.\n\nInstead of copying and pasting the same code over and over, let's create a single reusable data service and inject it into the components that need it. Using a separate service keeps components lean and focused on supporting the view, and makes it easy to unit-test components with a mock service.\n\nBecause data services are invariably asynchronous, we'll finish the page with a *Promise-based* version of the data service.\n\n### Step Six ~ Routing\n(Step Six, 1.1.6)\nThere are new requirements for the Heroes Staffing Firm app:\n\n1. Add a Dashboard view.\n1. Add the ability to navigate between the Heroes and Dashboard views.\n1. When users click a hero name in either view, navigate to a detail view of the selected hero.\n1. When users click a deep link in an email, open the detail view for a particular hero.\n\nWhen you’re done, users will be able to navigate the app\n\n### Step Seven ~ Use Angular's HTTP service\n(Step Seven, 1.1.7)\n\nWe make the following improvements.\n \n1. Get the hero data from a server.\n1. Let users add, edit, and delete hero names.\n1. Save the changes to the server.\n\nYou'll teach the app to make corresponding HTTP calls to a remote server's web API.\n\n\n----------\n\n## Boilerplate ##\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.0.2.\n\n## Development server\n\nRun `ng serve` 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 `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/).\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%2Fgokemon%2Fhero-staffing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgokemon%2Fhero-staffing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgokemon%2Fhero-staffing/lists"}