2,146 questions
Score of -1
0 answers
45 views
How to fix TypeScript type mismatch between Supabase generated types and React component props?
I am developing a full-stack web application using a modern React component library and strict static type checking configurations.
In my project setup, I have established a custom dashboard interface ...
Score of -2
0 answers
54 views
Issues with localstorage login sessions - best way to remedy?
I have built out a web application for games (hosts and participants). The hosts log in and run the game, while the participants submit answers.
Anyway, I currently use Supabase as the backend, and ...
Best practices
0
votes
4
replies
95
views
How do I implement per-user AI API cost limits without adding latency to every request?
I'm building a web app where end users make calls to the OpenAI API. I want to set monthly spend limits per user tier (e.g. free users get $0.50/month, paid users get $10/month) and block users who ...
Tooling
0
votes
1
replies
46
views
Better services than SupaBase request
I am using Supabase for my company's CRM, and it's really giving me long-term problems despite having the service on the 'Large' compute size and being on the Pro plan. Should I consider switching to ...
Score of 0
1 answer
59 views
Next.js NEXT_PUBLIC env vars not loading in browser — Supabase getting 403
I'm building a Next.js app with Supabase. My .env.local has:
NEXT_PUBLIC_SUPABASE_URL=https://rgfqebiuevnwfetdfaoh.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJ...
lib/supabase.ts:
import { ...
Advice
0
votes
0
replies
47
views
How should I structure Stripe Sync Engine data vs app-specific product/price metadata in Supabase/Postgres?
I just installed the Stripe Sync Engine through the Supabase dashboard.
I started a fresh project, and before installing the sync engine, I already had my own public.products and public.prices tables. ...
Score of 0
0 answers
90 views
Prisma db push cannot find DATABASE_URL when .env is in parent directory
I am working on a NEXT.js project that uses Prisma and Supabase Postgres.My project structure is:
Directory structure:
└── lunartech-x-dark-phoenix/
├── ai-podcast-clipper-backend/
│ ├── ...
Advice
0
votes
7
replies
162
views
Using both Supabase and firebase in the same project
I am working on an application where I am using Supabase for auth and a database table to store records and Firebase now I am gonna use it for messaging and hosting purposes. So am I doing right or ...
Advice
0
votes
0
replies
49
views
Resilient user deletion flow in node.js: balancing auth invalidation and distributed cleanup (Supabase, RevenueCat)
I am implementing a user account deletion flow in a node.js backend. My stack involves Supabase (auth, db and storage), RevenueCat and Redis. Initially i was thinking about enqueuing a job with bullmq ...
Score of 0
0 answers
78 views
How to transparently proxy Supabase auth v1 through Express for white-label OAuth branding?
I'm trying to mask my Supabase project url (e.g. xyz.supabase.co) behind my own custom API domain (api.mydomain.com) to achieve cleaner OAuth branding. Specifically, I want the google/x "choose ...
Advice
0
votes
0
replies
65
views
Adalo data sharing across all screens
In Adalo, I am trying to create new app where user won't login, rather it would be session based.
My tech stack is : Adalo (as UI) and Supabase (as database).
I have created collection UserSession ...
Score of 0
0 answers
62 views
Cloudflare Pages Worker fetch() returns "error code: 1016" for Supabase REST API, only from DFW edge
I'm running a Next.js 15 app on Cloudflare Pages (edge runtime). Server Components fetch data from Supabase using the @supabase/supabase-js client. The fetch works perfectly from most edge locations ...
Score of 0
0 answers
80 views
Emergency Weather App Failure - Receiving emergency evacuation alert but not showing it [duplicate]
We're making an advanced weather app that displays emergency alerts. It uses the weather.com API and Supabase Realtime to receive emergency notifications. After finishing part of the frontend, we ...
Advice
0
votes
1
replies
65
views
Designing atomic product + media upload flow with Supabase Storage
I’m building a system where users create a product with multiple media files (images/videos).
Tech stack
Node.js / Express backend
PostgreSQL
Supabase Storage (object storage)
Current flow
Client ...
Score of 3
1 answer
120 views
How to sync UI state between a page and a fetched sidebar component in Vanilla JS?
I am building a multi-page application using Vanilla JavaScript (no frameworks). To avoid code duplication, I fetch a shared sidebar (sidebar.html) and inject it into a placeholder on every page (e.g.,...