-
Notifications
You must be signed in to change notification settings - Fork 0
Home
This branch contains the example app. Into and overview video here
This branch adds various bits of reactive UX to the app:
- Adding live search and filter UX to the course page
- Adding live search and filter UX to the admin pages
- Clearing search forms with a reusable Relfex
- Handling admin bulk update action with a new Course Reflex
- Attaching some custom UX behavior to an element via lifecycle methods
This branch adds some live form validation examples. Video here.
This branch shows a quick example of handling inline updates of a record from an index page. Video here.
This branch shows an example of dynamically rendering partials in a modal via a Reflex. Video here.
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.
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
.