Trouble Connecting Cursor-Generated Next.js App to Supabase and Running Locally

Hi everyone, I’m building a Next.js app generated with Cursor AI and want to connect it to my Supabase project. My goals: 1. Connect my Supabase database to the app. 2. Store API keys securely. 3. Run the app locally and see it in the browser. The problem: • I’m not sure how to correctly set up the Supabase client inside the Cursor-generated code. • I can’t figure out how to run the app locally after the connection. • Documentation and YouTube tutorials haven’t worked for my setup. Thanks in advance!
2 Replies
!peet
!peetOP4w ago
Can someone answer plz?
garyaustin
garyaustin4w ago
You are waiting for a user who shows up on a weekend and has an idea about what you are trying to do. Not sure what cursor has to do with anything. There are examples of using next.js in the docs and on the web. Not sure what "locally" means. Almost everyone develops their app code on the local computer so I assume you are asking something more complicated.

Did you find this page helpful?