GCP + React + Stripe Infrastructure Specification
Cloud Run (Node.js API). Scales to zero.
Cloud SQL (PostgreSQL 15).
Vertex AI (Gemini 1.5 Flash) for Vision/Text.
Cloud Storage (Buckets: waivers-secure, public-profiles).
Firebase Authentication (Identity Platform).
organizations (The Shop)
appointments (The Money)
waivers (The Legal Lock)
Create PaymentIntent (Capture Method: Manual).
Auth $50.00 on card.
Save intent_id to DB.
Provider clicks "No Show" in Dashboard.
Backend calls stripe.paymentIntents.capture(id, {amount: 5000}).
Client charged $50. Shop gets $49. Nexus gets $1.
/api/v1/booking/create
Handles Availability + Stripe Auth
/api/v1/booking/noshow
Triggers Deposit Capture
/api/v1/ai/consult
Sends Image to Vertex AI → Returns Hairstyle JSON
/api/v1/shop/:slug
Public Profile for QR Codes
Google Cloud
Node.js
Stripe
PostgreSQL