Skip to content

This project is a example of to implement Infinite Scroll behavior with Hotwire Turbo and Zero Javascript in a Rails App. We also explore ActionText, Pagy, and ActiveRecord Import Gems.

Notifications You must be signed in to change notification settings

lucasgeron/rails-infinite-scroll

Repository files navigation

Rails Infinite Scroll with Turbo

rails Infinite Scroll

This application is a example of how to implement a infinite scroll with Rails and Turbo.

We also explore two complementary gems, ActionText and Active Record Import.

To demonstrate the use of all features, we developed a simple blog application. The articles can be generated with a simple seed, and the body of the article is a rich text field.

The index of application is a infinite scroll with the articles.

Installation

  • Clone this repository
  • Install dependencies with bundle install
  • Run the migrations with rails db:migrate
  • Populate the database rails db:seed
  • Run the server with ./bin/dev
  • Visit http://localhost:3000
  • Ready to Use

Feel free to customize this application.

Tutorial Step by Step

Check the tutorial step by step in

About

This project is a example of to implement Infinite Scroll behavior with Hotwire Turbo and Zero Javascript in a Rails App. We also explore ActionText, Pagy, and ActiveRecord Import Gems.

Topics

Resources

Stars

Watchers

Forks