Caveats: setting up Supabase auth takes a bit of reading docs, using the js helpers correctly and configuring RLS, but after that it just works.
If you're already doing the backend in rails, it's hardly any more work to just do hotwire with server side rendering at the same time, and you can switch to a SPA later (if you really do need to).
There’s a comment of somebody saying that just Postgres and Go. How on earth is that a good stack for building an mvp?? You’ll have to write a shit ton of code or glue together 10 thousand libraries.
I liked the idea of react and have used it but i don't feel like it improves the situation enough for 95% of the sites out there to justify it and the enormous extra work there is in getting state/routing/etc to jive with the backend. I'm hoping strada, if it ever comes out, will be a large improvement to turbo native and at least provide a very compelling alternative react native.
Compared to that JS ecosystem perhaps has too much :)
1000 foot overview: https://boringrails.com/articles/thinking-in-hotwire-progres...
a tutorial: https://www.hotrails.dev/turbo-rails
a video tutorial: https://www.driftingruby.com/episodes/hotwire-introduction
probably a good paid option: https://pragmaticstudio.com/hotwire-rails
and then there is the main site: https://turbo.hotwired.dev/
cheers!
React is purely about managing the frontend and user interactions. Many apps are very heavy on this. For a lot of things I've built, I think Rails would have been overkill. Even for ones that use a database, I find node.js/express/prisma much easier to work with (until you get into migrations). Activerecord's story around migrations is the best I've used.
But for an MVP you don't really need to worry about that.
My ruby/ rails experience is very limited compared to my JS experience; I really just started experimenting with rails. I'm blown away by the magic, JS frameworks feel like toys in comparison. I also like that Rails is omakase.
Based on your experience, would you suggest trying rails or going the full JS stack route?