thoughtbot / select-your-own-seat-superglue

Home Page:https://seanpdoyle.github.io/select-your-own-seat/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Select Your Own Seat

This application is an example of how to develop an interactive web page using:

  • Rails
  • Superglue
  • Superglue' Unobtrustive JavaScript
  • React
  • Redux

The commit history is intentionally meticulous and verbose, and serves to compare and contrast with equivalent commits built in Stimulus and Turbo.

The intent behind this repository is to:

  • demonstrate how egronomics can be markedly simliar between the normal rails version and superglue version.
  • serve as an example of real-world application built with all the conviences of a server-rendered monolith with React.
  • demonstrate how, despite written in react, that ultimately we rely on knowledge of boring standards based HTML.
  • demonstrate the strengths as well as weakenesses of both approaches.

For more context please see the Stimulus and Turbo version of the repo


To develop the application locally, check it out with git then run the setup script:

$ git clone git@github.com:thoughtbot/select-your-own-seat-superglue.git
$ cd select-your-own-seat-superglue
$ bin/setup
$ yarn install
$ yarn run build
$ yarn run build:css
$ rails server

Once the rails server command is running, visit the page at http://localhost:3000.

About

https://seanpdoyle.github.io/select-your-own-seat/


Languages

Language:Ruby 41.7%Language:JavaScript 26.3%Language:SCSS 25.7%Language:HTML 6.1%Language:Shell 0.2%