Skip to content
Matt-Yorkley edited this page Dec 10, 2020 · 11 revisions

TLDR Screencasts

master

This branch contains the example app. Into and overview video here

reactive-forms

This branch adds various bits of reactive UX to the app:

live-validation

This branch adds some live form validation examples. Video here.

inline-editing

This branch shows a quick example of handling inline updates of a record from an index page. Video here.

modals

This branch shows an example of dynamically rendering partials in a modal via a Reflex. Video here.

notifications

A new notifications feature is added to the app in the branch, and an example of multi-user broadcasted push updates with CableReady is added.

Setup and usage

Ruby version

This example was made with Ruby 2.5.7. If using rbnev, you can do: rbenv install 2.5.7 && rbenv local 2.5.7

Gems and packages

bundle install && yarn install. You may need to run this again when switching branches.

Postgres

Requires postgresql and a user with create permissions. Username and password can be set in the dotenv file (.env).

Database and seed data

rails db:create && rails db:setup. There's some useful seed data in db/seeds.db.

Clone this wiki locally