{"id":21307801,"url":"https://github.com/jdegand/angular-futurama-wiki","last_synced_at":"2026-06-08T16:03:19.340Z","repository":{"id":211655567,"uuid":"724883024","full_name":"jdegand/angular-futurama-wiki","owner":"jdegand","description":"Angular 17 Futurama Fan Wiki","archived":false,"fork":false,"pushed_at":"2024-02-17T00:27:23.000Z","size":305,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-10T23:45:31.984Z","etag":null,"topics":["angular","angular17","cypress","futurama","live-link"],"latest_commit_sha":null,"homepage":"https://jdegand.github.io/angular-futurama-wiki/","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}},"created_at":"2023-11-29T01:33:47.000Z","updated_at":"2024-07-11T02:46:53.000Z","dependencies_parsed_at":"2024-02-17T01:28:56.681Z","dependency_job_id":"50762492-07d3-4518-9021-c26023bfd653","html_url":"https://github.com/jdegand/angular-futurama-wiki","commit_stats":null,"previous_names":["jdegand/angular-futurama-wiki"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jdegand/angular-futurama-wiki","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdegand%2Fangular-futurama-wiki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdegand%2Fangular-futurama-wiki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdegand%2Fangular-futurama-wiki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdegand%2Fangular-futurama-wiki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdegand","download_url":"https://codeload.github.com/jdegand/angular-futurama-wiki/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdegand%2Fangular-futurama-wiki/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34069501,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"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","angular17","cypress","futurama","live-link"],"created_at":"2024-11-21T16:34:25.161Z","updated_at":"2026-06-08T16:03:19.322Z","avatar_url":"https://github.com/jdegand.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Angular Futurama Wiki\n\n[This](https://jdegand.github.io/angular-futurama-wiki/) is an Angular conversion of my [React Futurama Fan Wiki](https://github.com/jdegand/futurama-fan-wiki).\n\n## Screenshots\n\n![](screenshots/angular-futurama-fan-wiki-1.png \"Home Page\")\n\n***\n\n![](screenshots/angular-futurama-fan-wiki-2.png \"Detail Page\")\n\n***\n\n## Built With\n\n- [Angular](https://angular.dev)\n- [Angular CLI](https://github.com/angular/angular-cli) version 17.0.3.\n- [Futurama API](https://sampleapis.com/api-list/futurama)\n\n## Thoughts\n\n- I converted this specifically to use Cypress' intercept method.\n- If you were to add SSR or SSG, the intercept method won't work without modification.  \n- I haven't found a good example of Angular SSR testing yet.\n- If you pass an id that doesn't exist on the API, the detail page renders nothing.  I used an @else block but that would flash until the API request completed.\n- Could refactor to use httpClient and catchError or improve the fetch implementation with a try / catch ? \n- I limited the amount of character sayings returned in the @for loop by adding slice (`character.sayings.slice(0,5)`).  \n\n## Continued Development\n\n- Fetch error handling \n- You could use `head-shot` for the alt tag.  I think all head-shots are empty strings.\n\n## Useful Resources\n\n- [transform](https://transform.tools/json-to-typescript) - json to typescript\n- [CSS Reset](https://andy-bell.co.uk/a-more-modern-css-reset/) - a more modern css reset\n- [tektutorialshub](https://www.tektutorialshub.com/angular/angular-folder-structure-best-practices/) - angular folder structure best practices\n- [Stack Overflow](https://stackoverflow.com/questions/56092083/async-await-in-angular-ngoninit) - async await in angular ngOnInit\n- [Github](https://github.com/cypress-io/cypress/issues/8477) - sourceMap error when you don't add a `tsconfig.json` file inside the cypress folder\n- [Cypress Docs](https://docs.cypress.io/guides/tooling/typescript-support#Configure-tsconfig-json) - configure tsconfig.json\n- [Web.dev](https://web.dev/articles/fetch-api-error-handling) - fetch api error handling\n- [Sentry](https://sentry.io/answers/how-do-i-test-for-an-empty-javascript-object/) - how do I test for an empty js object\n- [YouTube](https://www.youtube.com/watch?v=cJQQizjl7eo) - You might be using fetch with async/await wrong...\n- [Stack Overflow](https://stackoverflow.com/questions/37818677/how-can-i-limit-ngfor-repeat-to-some-number-of-items-in-angular) - how can i limit ngFor repeat to some number of items in angular\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdegand%2Fangular-futurama-wiki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdegand%2Fangular-futurama-wiki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdegand%2Fangular-futurama-wiki/lists"}