Issue while building a digital membership card system using Netlify Functions and React

Hi everyone,

I am currently working on a project where I am building a digital card system using Netlify for hosting, deployment, and server less backend functions.

The main idea of the project is:

  1. Users can sign up and log in on the platform
  2. After successful registration (and optional payment integration in future), a digital membership card is generated automatically
  3. The card contains user details like name, membership ID, expiry date, and a QR code
  4. Users can access their digital card anytime from their dashboard (mobile-friendly view)

I am using a React-based frontend and Netlify Functions as backend APIs. For database, I am connecting an external service (like Firebase/Supabase type setup).