This repo demonstrates some Hotwire functionality and was created for demonstration purposes on Nash.rb meetup.
The project uses MongoDB, Rails 7, Importmap.
Setup:
- download the source code
- make sure you have a local instance of MongoDB running
bundle installrails s- in order to have stimulus demo working go to https://cors-anywhere.herokuapp.com/ and click request temporary access
What is demonstrated:
- Turbo frames
- Eager and Lazy loading with turbo frames
- Navigating with Turbo Frames
- Working with Stimulus controllers
- CRUD with Turbo Streams
- Broadcasting with Turbo Streams