Hiding API Keys in Production #3355
-
Hi everyone, New to Supabase and wondering how people are handling their server-side functions (such as hiding API keys) for React apps? Traditional React applications you'd just use a proxy server...Does anyone have any example repos of a node.js server handling the Supabase functions, and a React front-end app calling these functions? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
In the case of most apps built with Supabase and React, the supabase-js library is used directly in the React application. The |
Beta Was this translation helpful? Give feedback.
In the case of most apps built with Supabase and React, the supabase-js library is used directly in the React application. The
anon
key can be exposed to the public and doesn't require being hidden. Also, NextJS seems like a nice option for those wanting client/server interaction in their app.