Let's turn an existing app into a PWA by adding a valid Webmanifest and Service Worker.
You can simply add the files to the /public folder, OR you can do it the Rails 8 way and add manifest.json and service-worker.js to ActionView!
Episode source code: https://github.com/yshmarov/insta2blog.com/commit/6bdcd957865ecaed5dc7802b5086ad98f6851ab0
Based on this blogpost: https://blog.corsego.com/rails-8-pwa
0:00 PWA on MacOS
2:38 Webmanifest
7:56 Service Worker
10:05 The Rails 8 Way