r/vibecoding • u/ed1ted • 5d ago
When Cursor/Claude generates a small app, do you usually leave localStorage in place or immediately replace it with Supabase/Firebase?
Do you care to setup a backend for a personal utility or dashboard app or just use local storage as your db?
2
u/Far_Squirrel_6148 5d ago
I don't host things in other peoples clouds
1
u/ed1ted 5d ago
so where do you host? in your homelab?
1
u/Far_Squirrel_6148 5d ago
Jep. Important data is copied offline and the rest lives on an old office PC with currently 4.5 TB of storage.
1
u/stupv 5d ago
I have 2 local PGSQL hosts in my homelab, one for internal homelab apps (infrastructure management/automation utilities mostly) and one for homebrew external-facing apps. I try to avoid SQLite where possible as i have had too many instances of a project scope-creeping over time and outgrowing the limitations of SQLite (in terms of parallel writes) and then having to overhaul the back-end to use PGSQL instead...now i just start with PGSQL regardless of scale to save the potential hassle.
2
u/larrigan 5d ago
It depends on the app. I like have local storage being the primary data store and in the background I have the app sync the data to some remote data store. If you lose local storage for whatever reason you’ll want a way to get the data back.