Building an offline experience with a Rails-powered PWA
Description
This talk explains how to transform a standard Rails application into a Progressive Web App (PWA) by leveraging the front-end tools available in Rails 7 and beyond. It covers the core components of PWAs, including service workers and app manifests, and demonstrates how to implement offline capabilities such as caching, offline fallback, and the ability to perform CRUD operations while offline. The presentation highlights the use of JavaScript libraries like Workbox, Dexie, and Mustache, along with the Stimulus JavaScript framework, to achieve these features without relying on complex front-end frameworks. The case study involves building an application for the Chilean government to be used by farmers and technicians in areas with unreliable network connectivity.