/hotwire-jokes

A simple Rails app to experiment with hotwire

Primary LanguageRuby

README

A simple application to experiment with Turbo. Mainly used for learning/inspiration purposes.

Tags

Use tags to jump around different stages of the app development:

Stage Tag name Link Local command
Scaffold of app base-app link git checkout base-app
Broadcast jokes from model broadcast-with-pagination link git checkout broadcast-with-pagination
Broadcast jokes from job broadcast-from-job link git checkout broadcast-from-job
Broadcast with Stimulus broadcast-with-stimulus link git checkout broadcast-with-stimulus

Setup

This application uses:

  • ruby 3.1.2
  • sqlite 3
  • sidekiq 7.2.1

Have them installed, clone repo and run:

$ bundle
$ rails db:setup
$ bin/dev

Testing

Run $ bundle exec rails test for tests.