{"id":15771751,"url":"https://github.com/nwtgck/egghead-todo-typescript-react","last_synced_at":"2026-05-01T09:32:18.085Z","repository":{"id":87735662,"uuid":"100766701","full_name":"nwtgck/egghead-todo-typescript-react","owner":"nwtgck","description":"Type-safe TODO list app in React + Redux + TypeScript","archived":false,"fork":false,"pushed_at":"2018-08-25T11:43:53.000Z","size":269,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-11T15:12:07.262Z","etag":null,"topics":["egghead","eggheadio","react","reactjs","typescript"],"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/nwtgck.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-08-19T03:17:43.000Z","updated_at":"2022-04-30T05:19:26.000Z","dependencies_parsed_at":"2024-01-22T06:39:08.872Z","dependency_job_id":null,"html_url":"https://github.com/nwtgck/egghead-todo-typescript-react","commit_stats":{"total_commits":19,"total_committers":1,"mean_commits":19.0,"dds":0.0,"last_synced_commit":"5d7b68b8c32f4cf69168ede7a2d9f4632d7aa3c2"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/nwtgck/egghead-todo-typescript-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fegghead-todo-typescript-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fegghead-todo-typescript-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fegghead-todo-typescript-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fegghead-todo-typescript-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nwtgck","download_url":"https://codeload.github.com/nwtgck/egghead-todo-typescript-react/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fegghead-todo-typescript-react/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32492168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["egghead","eggheadio","react","reactjs","typescript"],"created_at":"2024-10-04T15:04:56.535Z","updated_at":"2026-05-01T09:32:18.056Z","avatar_url":"https://github.com/nwtgck.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Type-safe TODO list app in TypeScript + React + Redux \n\nA Type-safe TODO list application written in TypeScript following by the wonderful lessons of [egghead.io](https://egghead.io/).\n\n\u003cimg src=\"demo-img/demo1.gif\"\u003e\u003c/img\u003e\n\n## Awesome egghead.io Redux lessons!\n\nThis repository is TypeScript version of the lessons bellow.\n\n\nhttps://egghead.io/courses/getting-started-with-redux\n\n\n## Demo page\n\nhttps://nwtgck.github.io/egghead-todo-typescript-react/build/\n\n## How to run\n\n```sh\n$ cd \u003cthis-repo\u003e\n$ npm install\n$ npm start\n```\n\nThen, go to http://localhost:8080.\n\n## How to build .html file and bundle.js\n\n```sh\n$ cd \u003cthis-repo\u003e\n$ npm install\n$ npm run build\n```\n\nThen, you can open `./build/index.html` by your browser.\n\n\n## Main technologies\n\n* TypeScript\n* React\n* Redux\n* webpack\n\n\n## Type safety\n\n`Filter`, for example, is seems to be just string.\nBut only `'SHOW_ALL'`, `'SHOW_ACTIVE'` and `'SHOW_COMPLETED''` are acceptable as `Filter` because `Filter` type is defined bellow. \n\n```ts\ntype Filter = 'SHOW_ALL' | 'SHOW_ACTIVE' | 'SHOW_COMPLETED';\n```\n\nBecause of this feature, we can use string more relax without considering typo.\n\n.tsx bellow is valid. \n\n```tsx\n\u003cFilterLink filter={'SHOW_ALL'}\u003eAll\u003c/FilterLink\u003e\n``` \n\nBut, the mistake bellow will be detected at compile time. Good!\n\n```tsx\n\u003cFilterLink filter={'SHO_ALL'}\u003eAll\u003c/FilterLink\u003e\n```\n\nThis is only just one example. Almost things are typed, and some human errors can be detected at compile time. \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwtgck%2Fegghead-todo-typescript-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnwtgck%2Fegghead-todo-typescript-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwtgck%2Fegghead-todo-typescript-react/lists"}