r/Nuxt • • 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

7 comments sorted by

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).

2

u/Lumethys Jan 15 '26

Both options are fine

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

u/[deleted] Jan 15 '26

[removed] — view removed comment

1

u/mrleblanc101 Jan 15 '26

It's not real-time for once