{"id":15588785,"url":"https://github.com/hopsoft/stimulus_todomvc","last_synced_at":"2025-04-24T05:18:54.393Z","repository":{"id":39417579,"uuid":"203686956","full_name":"hopsoft/stimulus_todomvc","owner":"hopsoft","description":"[WIP] An implementation of TodoMVC using Ruby on Rails and StimulusJS","archived":false,"fork":false,"pushed_at":"2023-01-19T14:29:02.000Z","size":992,"stargazers_count":14,"open_issues_count":33,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-24T05:18:43.637Z","etag":null,"topics":["reactive","ruby-on-rails","server-side-rendering","single-page-app","spa","stimulus","stimulusjs","todo-mvc","todomvc","todomvc-demo"],"latest_commit_sha":null,"homepage":"https://stimulus-todomvc.herokuapp.com","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/hopsoft.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":"2019-08-22T00:52:52.000Z","updated_at":"2020-05-07T02:45:32.000Z","dependencies_parsed_at":"2023-02-02T03:55:15.512Z","dependency_job_id":null,"html_url":"https://github.com/hopsoft/stimulus_todomvc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hopsoft%2Fstimulus_todomvc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hopsoft%2Fstimulus_todomvc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hopsoft%2Fstimulus_todomvc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hopsoft%2Fstimulus_todomvc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hopsoft","download_url":"https://codeload.github.com/hopsoft/stimulus_todomvc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250566700,"owners_count":21451283,"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":["reactive","ruby-on-rails","server-side-rendering","single-page-app","spa","stimulus","stimulusjs","todo-mvc","todomvc","todomvc-demo"],"created_at":"2024-10-02T22:41:49.797Z","updated_at":"2025-04-24T05:18:54.372Z","avatar_url":"https://github.com/hopsoft.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Lines of Code - app directory](http://img.shields.io/badge/lines_of_code-203-brightgreen.svg?style=flat)](http://blog.codinghorror.com/the-best-code-is-no-code-at-all/)\n[![Maintainability](https://api.codeclimate.com/v1/badges/29a9696b3c2a1fb6d4fb/maintainability)](https://codeclimate.com/github/hopsoft/stimulus_todomvc/maintainability)\n[![Ruby Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://github.com/testdouble/standard)\n\n# Stimulus TodoMVC\n\nAn implementation of [TodoMVC](http://todomvc.com) using\n[Ruby on Rails](https://rubyonrails.org) and [StimulusJS](https://stimulusjs.org).\n\nExpands on the original goals of [TodoMVC](http://todomvc.com) by providing a full application...\nincluding a server and database.\n\n## Table of Contents\n\n\u003c!-- toc --\u003e\n\n- [Demo](#demo)\n- [Why](#why)\n- [Local Setup](#local-setup)\n- [Next Steps](#next-steps)\n\n\u003c!-- tocstop --\u003e\n\n## Demo\n\nhttps://stimulus-todomvc.herokuapp.com\n\n_You may notice some latency related to hosting on **free tier** services._\n\n## Why\n\nMany developers are unaware that it's possible to build responsive _\"modern\"_\n[Single Page Applications (SPAs)](https://en.wikipedia.org/wiki/Single-page_application) with default Rails tooling.\n\nThe user experience may not strictly match what's promised by [pure JavaScript solutions](http://todomvc.com),\nbut it is **good enough** for the vast majority of use cases.\n_Especially when you consider the deveopment, deployment, operating, and maintenance costs._\n\n## Local Setup\n\n1. Install dependencies\n\n   - [Ruby](https://www.ruby-lang.org/en/downloads/)\n   - [Yarn](https://yarnpkg.com/lang/en/docs/install/#mac-stable)\n   - [PostgreSQL](https://www.postgresql.org/download/)\n\n1. Clone the repo\n\n   ```sh\n   git clone https://github.com/hopsoft/stimulus_todomvc.git\n   ```\n\n1. Switch into the project folder\n\n   ```sh\n   cd stimulus_todomvc\n   ```\n\n1. Run the setup command\n\n   ```sh\n   bin/setup\n   ```\n\n1. Start the rails server\n\n   ```sh\n   bin/rails server\n   ```\n\n1. See the app in action\n\n   To see the application in action, open a browser window and navigate to http://localhost:3000. That's it!\n\n## Next Steps\n\nIf you find this approach lacking, consider giving [StimulusReflex](https://github.com/hopsoft/stimulus_reflex)\na try before reaching for a complex JavaScript framework.\n\n## Contributing\n\nThis project uses [Standard](https://github.com/testdouble/standard)\nand [Prettier](https://github.com/prettier/prettier) to minimize bike shedding related to code formatting.\n\nPlease run `./bin/standardize` prior submitting pull requests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhopsoft%2Fstimulus_todomvc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhopsoft%2Fstimulus_todomvc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhopsoft%2Fstimulus_todomvc/lists"}