lucianolima00 / stimulus_todomvc

[WIP] An implementation of TodoMVC using Ruby on Rails and StimulusJS

Home Page:https://stimulus-todomvc.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lines of Code - app directory Maintainability

Stimulus TodoMVC

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.

Table of Contents

Demo

https://stimulus-todomvc.herokuapp.com

You may notice some latency related to hosting on free tier services.

Why

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.

Local Setup

  1. Install dependencies

  2. Clone the repo

    git clone https://github.com/hopsoft/stimulus_todomvc.git
  3. Switch into the project folder

    cd stimulus_todomvc
  4. Run the setup command

    bin/setup
  5. Start the rails server

    bin/rails server
  6. See the app in action

    To see the application in action, open a browser window and navigate to http://localhost:3000. That's it!

Next Steps

If you find this approach lacking, consider giving StimulusReflex a try before reaching for a complex JavaScript framework.

About

[WIP] An implementation of TodoMVC using Ruby on Rails and StimulusJS

https://stimulus-todomvc.herokuapp.com


Languages

Language:Ruby 69.9%Language:HTML 17.7%Language:JavaScript 8.5%Language:CSS 4.0%