An implementation of TodoMVC using Ruby on Rails and StimulusJS.
Expands on the original goals of TodoMVC by providing a full application... including a server and database.
https://stimulus-todomvc.herokuapp.com
You may notice some latency related to hosting on free tier services.
Many developers are unaware that it's possible to build responsive "modern" Single Page Applications (SPAs) with default Rails tooling.
The user experience may not strictly match what's promised by pure JavaScript solutions, but it is good enough for the vast majority of use cases. Especially when you consider the deveopment, deployment, operating, and maintenance costs.
-
Install dependencies
-
Clone the repo
git clone https://github.com/hopsoft/stimulus_todomvc.git
-
Switch into the project folder
cd stimulus_todomvc
-
Run the setup command
bin/setup
-
Start the rails server
bin/rails server
-
See the app in action
To see the application in action, open a browser window and navigate to http://localhost:3000. That's it!
If you find this approach lacking, consider giving StimulusReflex a try before reaching for a complex JavaScript framework.
This project uses Standard and Prettier to minimize bike shedding related to code formatting.
Please run ./bin/standardize
prior submitting pull requests.