{"id":14955561,"url":"https://github.com/adrienpoly/todomvc_rails_on_stimulus","last_synced_at":"2025-07-30T07:07:34.759Z","repository":{"id":28876955,"uuid":"116736365","full_name":"adrienpoly/todomvc_rails_on_stimulus","owner":"adrienpoly","description":"A modest TodoMvc built with Rails, Turbolinks and Stimulus JS","archived":false,"fork":false,"pushed_at":"2022-12-14T00:00:48.000Z","size":816,"stargazers_count":66,"open_issues_count":25,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-05T03:41:27.213Z","etag":null,"topics":["demo","practice","rails","rails5","stimulus","stimulus-controller","stimulusjs","todomvc","training","turbolinks"],"latest_commit_sha":null,"homepage":"https://todomvc-rails-on-stimulus.herokuapp.com/","language":"Ruby","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/adrienpoly.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}},"created_at":"2018-01-08T22:36:21.000Z","updated_at":"2024-10-31T00:02:42.000Z","dependencies_parsed_at":"2023-01-14T13:45:28.046Z","dependency_job_id":null,"html_url":"https://github.com/adrienpoly/todomvc_rails_on_stimulus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adrienpoly/todomvc_rails_on_stimulus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrienpoly%2Ftodomvc_rails_on_stimulus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrienpoly%2Ftodomvc_rails_on_stimulus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrienpoly%2Ftodomvc_rails_on_stimulus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrienpoly%2Ftodomvc_rails_on_stimulus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adrienpoly","download_url":"https://codeload.github.com/adrienpoly/todomvc_rails_on_stimulus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrienpoly%2Ftodomvc_rails_on_stimulus/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267827502,"owners_count":24150350,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"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":["demo","practice","rails","rails5","stimulus","stimulus-controller","stimulusjs","todomvc","training","turbolinks"],"created_at":"2024-09-24T13:11:22.263Z","updated_at":"2025-07-30T07:07:34.726Z","avatar_url":"https://github.com/adrienpoly.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# A TodoMVC built with Rails, Turbolinks and boosted with Stimulus\n\nThis is a **modest** attempt to create a TodoMVC with Rails, Turbolinks and boost it a bit with Stimulus.\nThis project was inspired by [this project](https://github.com/nateberkopec/todomvc-turbolinks) : a TodoMVC built with Rails and Turbolinks 3\n\n## The concept behind\n\nThe goal of this project was primarily to get more familiar and practice with the new [Stimulus](https://github.com/stimulusjs/stimulus) framework.\nThe approach taken in this project is to make most of the actions on the todolist client side with Stimulus controller **to get this crisp and fast feeling of client side rendering**.\nThis Todolist preserves the data in a database within the backend. Each action is therefore linked to a call to the backend to update the content in the database. Those calls are ajax calls using Rails UJS `Rails.ajax`.\n\n## Demo\n\nA live demo is available at: https://todomvc-rails-on-stimulus.herokuapp.com/\n\nAs a comparison you can also test the Turbolink 3 only: https://todomvc-turbolinks.herokuapp.com/\n\n## Todo\n\n🚧 WORK IN PROGRESS\n\n* [x] Fix Turbolinks blinks and path change\n* [x] We are talking about speed here, score a 100 at Google page speed 💯\n* [ ] Add tests\n* [ ] Add a new todo client side\n* [ ] Split the Todo controller in smaller controllers that communicate between each others (wait for 1.1)\n\n## Disclaimer\n\nThis is not intended to be a perfect example of how to use Stimulus, Rails and Turbolinks in a production environment. This is solely an exercise to practice this new Framework and to confirm how well it pairs with Rails and Turbolinks.\n\n## Credits\n\nLots of inspiration from this great project that got me started\n[A Turbolinks 3 TodoMVC](https://github.com/nateberkopec/todomvc-turbolinks)\n\nMany thanks for all Q\u0026A in the Stimulus [issues](https://github.com/stimulusjs/stimulus/issues?q=is%3Aissue+is%3Aclosed)\n\n[@nowhereman](https://github.com/nowhereman) : for sending a nice [PR](https://github.com/adrienpoly/todomvc_rails_on_stimulus/pull/4) . While it hasn't been merged it helped me a lot understanding how Turbolinks, Rails-ujs plays all together\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrienpoly%2Ftodomvc_rails_on_stimulus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadrienpoly%2Ftodomvc_rails_on_stimulus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrienpoly%2Ftodomvc_rails_on_stimulus/lists"}