You seem like a trustworthy kind of guy so I’m just going to send you the project code to see if you can help me out.
Which would work best for you?
Do you mean to send you the project code?
That would be great! What do you need from my end?
I have contacted Famous.ai support and they said they could help but I am way down on the priority list.
I watched the video but honestly the guy talks way too fast and it’s all way over my head. Would you be interested in helping me if I send you the project?
When I hover over it a window opens up that shows the Data API settings, project url, publishable key and direct connection string. I copied the url and publishable key and inserted them in the example script in the code section of my project but keep getting error messages and a blank screen of my project.
I noticed that my project url is missing the “m” at the end of supabase.com? I wonder if that could be causing me issues?
Well I’d like to report that everything is working but unfortunately I can’t seem to get it connected.
Where do I plug the project url and the anon key in at? I really appreciate all your help!
Where do I access all this to insert my credentials?
I did what you said to do and this is what it returned. Still totally confused.
Created a `.env` file for database credentials, a `.env.example` template, and a centralized `src/lib/env.ts` helper — then updated `supabase.ts` and `api.ts` to read credentials from environment variables instead of hardcoded strings. - **Created `.env`** with `VITE_database_URL` and `VITE_database_ANON_KEY` containing your current credentials, with documentation comments - **Created `.env.example`** with placeholder values and setup instructions for developer onboarding (`cp .env.example .env`) - **Created `src/lib/env.ts`** — a centralized environment variable helper that reads `import.meta.env` values, validates they exist, and throws a clear error with setup instructions if any are missing - **Updated `src/lib/supabase.ts`** — replaced hardcoded URL and key with imports from `env.ts` - **Updated `src/lib/api.ts`** — replaced hardcoded URL and key with imports from `env.ts`, and uses the shared `edgeFunctionUrl()` helper - **Updated `.gitignore`** — added `.env`, `.env.local`, and `.env.*.local` to prevent credentials from being committed to version control All database credentials are now stored in `.env` and accessed through a single centralized `env.ts` module, keeping secrets out of source code and making it easy to switch between environments.
Not sure what the anon key is either for that matter?
Not sure what you mean by Authorization: Bearer <Your API Key> header? I probably sound kind of dumb but honestly it’s over my head. Guess that’s why I had Famous.ai build the app.
Are you referring to the publishable key or the secret key?