jun

Joined

810 Experience
0 Lessons Completed
1 Question Solved

Activity

I was able to make a separate Vue mobile PWA client on https://surge.sh/ that connected to my Rails API on Vultr. It's so much easier than React or Preact.

I need a web + mobile app on PostgreSQL that has offline functionality so I decided on making a PWA.

There seems to be only 2 frameworks for making PWAs: Angular and Vue.

So I decided to use Vue, but it seems its preferred stack is: Node + Express + Sequelize

So does it mean I have to abandon my Rails app and convert it into that Node stack? Or can I still save it with Vue + Rails combo?

Posted in Can a Rails app be converted into a Progressive Web App?

I'm going through this tutorial to add service workers to Rails. But it's incomplete. I hope Chris can make a better tutorial:

https://www.youtube.com/watch?v=zqobr9fwH_M

It uses Webpush and service-worker-rails

https://github.com/zaru/webpush
https://github.com/rossta/serviceworker-rails

I was looking for a way to create a mobile client for my Rails App / API.

I came upon PWAs but I couldn't find any info on how to use it for Rails.

Is it possible?