CoolFace
Apppublic

iclubmedasu/backend

sourceHugging Faceupdated 13d agoView on Hugging Face
0likes
App README

iClub Backend API

Express API for the iClub members portal and public website. Deployed as a Docker Space on Hugging Face.

Configuration

Set secrets and variables in Space Settings → Variables and secrets (not in this file). See monorepo docs/deployment.md.

Common keys:

VariablePurpose
DATABASE_URLSupabase Postgres connection string
JWT_SECRETJWT signing secret (production required)
BFF_PROXY_SECRETSame secret as members-portal Space; trusts BFF X-Iclub-Client-Ip for rate-limit keys
FRONTEND_URLMembers portal origin (password-reset links)
FRONTEND_ORIGINSComma-separated CORS browser origins
PUBLIC_WEBSITE_URLPublic site origin
PORTMust be 7860 on Hugging Face Spaces

Health check: GET /health