{"id":17134131,"url":"https://github.com/fernandes/todomvc-rails-react-spa","last_synced_at":"2026-01-20T16:06:41.808Z","repository":{"id":39499474,"uuid":"105935262","full_name":"fernandes/todomvc-rails-react-spa","owner":"fernandes","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-14T02:10:06.000Z","size":809,"stargazers_count":1,"open_issues_count":32,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T03:15:06.301Z","etag":null,"topics":["api","rails","react","react-router-v4","redux","redux-saga","sagas","single-page-app","superagent","todomvc","webpacker"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/fernandes.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-10-05T20:09:25.000Z","updated_at":"2019-06-25T13:14:34.000Z","dependencies_parsed_at":"2023-01-28T16:16:18.193Z","dependency_job_id":null,"html_url":"https://github.com/fernandes/todomvc-rails-react-spa","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fernandes/todomvc-rails-react-spa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernandes%2Ftodomvc-rails-react-spa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernandes%2Ftodomvc-rails-react-spa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernandes%2Ftodomvc-rails-react-spa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernandes%2Ftodomvc-rails-react-spa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fernandes","download_url":"https://codeload.github.com/fernandes/todomvc-rails-react-spa/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernandes%2Ftodomvc-rails-react-spa/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28606389,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T14:45:23.139Z","status":"ssl_error","status_checked_at":"2026-01-20T14:44:16.929Z","response_time":117,"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":["api","rails","react","react-router-v4","redux","redux-saga","sagas","single-page-app","superagent","todomvc","webpacker"],"created_at":"2024-10-14T19:43:59.122Z","updated_at":"2026-01-20T16:06:41.793Z","avatar_url":"https://github.com/fernandes.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TodoMVC Rails React\n\ntodomvc.com example built using rails 5, [webpacker](https://github.com/rails/webpacker), react v16, redux and saga.\n\n## Development\n\n```\nbundle install\ncd vendor \u0026\u0026 yarn install \u0026\u0026 cd ..\nforeman start\nopen http://localhost:5000/\n```\n\nIf you wanna simulate a production environment compile the assets and run in production environment\n\n```bash\nrake assets:precompile # will compile webpack too\nRAILS_SERVE_STATIC_FILES=true SECRET_KEY_BASE=\"secretkey\" RAILS_ENV=production rails s -b 0.0.0.0 -p 5000\n```\n\n## TODO\n\nThe code is port of a v0.13 react version, so I intend to make it follow the best practices described on ~v15~ v16 documentation.\n\n- [X] Add system tests\n- [x] Add redux and rails API\n  - [x] REST\n  - [ ] GraphQL\n- [ ] add tests (probably current tests are broken because of login)\n- [ ] Add Flow (or prop types?)\n- [ ] improve index fetching (pagination, next url…)\n- [ ] rehydrate JWT from localstorage\n- [ ] navigate between all/completed/active using react router\n- [ ] use humps and normalizr (good for complex APIs, but not needed on this case)\n- [ ] use styled components for todo mvc css (so we can practice and find best practices)\n- [ ] I’d like to remove (internal) state for some components and write them as functional, but not a big deal atm\n\n## Thanks\n\nBased on original work [todomvc react](https://github.com/tastejs/todomvc/tree/gh-pages/examples/react) created by [petehunt](http://github.com/petehunt/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffernandes%2Ftodomvc-rails-react-spa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffernandes%2Ftodomvc-rails-react-spa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffernandes%2Ftodomvc-rails-react-spa/lists"}