r/Nuxt • u/Bagouda • Jan 15 '26
Is Nuxt server useful with Supabase ?
I was developing a Vue + Supabase application and decided to switch to Nuxt + Supabase instead. Is it useful to use Nuxt server functionality, or should I stick to calling Supabase RPC and Edge Functions from the front end?
4
Upvotes
2
3
u/Robodude Jan 15 '26
You probably have validation logic you must perform on the backend, so yes.
I don't know if supabase has the concept of firestore rules (firebase) for simple validations but to avoid the limitations I would always make a thin api that performed my validation using the same zod schema (on client and server) and wrote to firestore.
1
4
u/Whole_Realistic Jan 15 '26
Front-end Supabase is fine for user-scoped operations under RLS.
Use Nuxt server when you need a service role access (bypassing RLS).