I created a backend server and deployed it on Vercel. It was getting errors at first, but those were solved by optimizing for serverless. However, after deploying the frontend, it was getting 500 errors related to the database(supabase), even though it was fine. I copied over the env variables exactly, except for the production Clerk variables(no errors were caused by Clerk).
It is supposed to fetch data from Supabase, and show it on the dashboard, but instead it just gets 500 errors.
Frontend: Vite, React, React Query
Backend: Express
Frontend: https://github.com/saltjsx/quickbuck
Backend: https://github.com/saltjsx/quickbuck-server
I am not too technical, and a lot of debugging was done with AI.