{"id":21307519,"url":"https://github.com/jdegand/projection","last_synced_at":"2026-05-18T22:15:21.756Z","repository":{"id":194664664,"uuid":"690752156","full_name":"jdegand/projection","owner":"jdegand","description":"Angular Challenges #1 Projection","archived":false,"fork":false,"pushed_at":"2023-09-16T22:47:49.000Z","size":346,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T09:12:59.842Z","etag":null,"topics":["angular","angular-challenges"],"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/jdegand.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":"2023-09-12T19:58:41.000Z","updated_at":"2023-09-13T00:35:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"2366335e-cf8e-461f-8dd2-68ba6683b911","html_url":"https://github.com/jdegand/projection","commit_stats":null,"previous_names":["jdegand/projection"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdegand%2Fprojection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdegand%2Fprojection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdegand%2Fprojection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdegand%2Fprojection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdegand","download_url":"https://codeload.github.com/jdegand/projection/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243785024,"owners_count":20347409,"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-challenges"],"created_at":"2024-11-21T16:32:24.519Z","updated_at":"2026-05-18T22:15:16.725Z","avatar_url":"https://github.com/jdegand.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Projection\n\n[Angular Challenges](https://github.com/tomalaforge/angular-challenges) #1 Projection\n\n## Built With\n\n- [Angular](https://angular.io)\n- [Angular CLI](https://github.com/angular/angular-cli) version 16.2.0.\n\n## Directions\n\nRefactor this working example of a dashboard containing multiple cards (teachers, students, ...). Implement the City card.\n\n### Constraints:\nYou must keep CardComponent and ListItemComponent.\nNgFor directive must be declared and stay inside the CardComponent.\nNo NgIf or NgSwitch inside CardComponent.\nCSS: prefer not to use ::ng-deep, find a better way.\n\n## Thoughts\n\n- Didn't add tailwind.  \n- Replaced trash svg with a X.  The trash svg didn't show up and this is probably related to Tailwind's absence.\n- No picture included for the cities section.  Just added the text cities to divide sections and changed background color.  \n- First thought was that I needed a city store.  Copied and pasted student store and used find and replace to change student to city.\n- I added the city store and city-card component, but I couldn't get the name and the country to actually be in the html.  \n- Need inputs for the city properties in the list-item component?\n- I changed the name property binding to `[name]=\"item.firstname || item.name\"` in the `card.component.html`.  This gives you at least a name property for the cities.  \n- I added a country input binding but I didn't see the country name in the html.\n- I forgot you *also* have to change the template html of app-list-item.  \n- Implementing the city card shows how much work has to be done to maintain the same look for all cards.  You will have to add many more *ngIf's to the app-list-item template if there is a limited overlap of properties.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdegand%2Fprojection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdegand%2Fprojection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdegand%2Fprojection/lists"}