最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

database design - How to set up API calls to Supabase in frontend? - Stack Overflow

programmeradmin2浏览0评论

I am building a sort of centralized Supabase database. One single database that holds (non-critical) data of many businesses that is going to be shown in the frontend.

For each business I have a specific authenticated user and a clients table which connects their UUID to their business. I have a dashboard which dynamically, based on user, gets their business tables and lets them perform CRUD operations on them. All the tables have RLS implemented. The main purpose of the dashboard is to have a custom solution for my clients that is easy to understand and relieves me of the trouble of changing their data.

What API call setup would display this data on their respective front ends?

The approach should handles security while being quick to implement, because I build front ends almost from scratch each time. The front ends will only fetch the tables. I don't want to build a back end; everything should be serverless, handled by Supabase.

发布评论

评论列表(0)

  1. 暂无评论