Back

Hi! I'd like your opinion on a new stack I'm experimenting with for mobile apps. I'm using Supabase for Auth and DB, which I connect to my Laravel app as the main Postgres database. Then my mobile app, built with Quasar framework, pulls its data from Supabase via Postgres functions.

This gives me the best of both worlds: a control panel that can be hosted on Laravel Cloud with hibernation and with no DB, which only admins will use (so at a very low cost!), and a frontend that connects to the same data, but in a slightly different way. This also allows me to isolate my admins (in Laravel/Filament) from my app users (in Supabase Auth) without Sanctum/JWT.

The goal of this stack is to not deal too much with CORS issues, and to enable rapid MVC development, while leveraging the strengths of Postgres (vector search, PostGIS, etc.), and to avoid having to build, test, and secure an API (although Supabase also needs to be secured, but with RLS, it's still quite simple).

What do you think?

40

0 / 1000