I have a working example at the repo below (uning Firebase Hosting for the frontend and GCP Cloud Run for the backend):
Coincidentally, this example also uses the experimental database connector for Cloud Firestore, but you can configure your data as you please.