AlgoMol logoAlgoMol
Revamped stack

How AlgoMol fits together

This frontend is optimized for Vercel and Auth0. The backend runs on Fly.io and trusts only Auth0-signed JWTs. Keep the environment variables aligned between the two so the access token audience matches the backend validation.

Next.js (Vercel) hosts marketing and login; Auth0 Universal Login handles credentials.
Auth0 issues access tokens (RS256, API audience) used for backend calls.
Next.js proxies to the backend via /api/dashboard and /api/service to keep tokens server-side.
FastAPI (Fly.io) validates JWTs against Auth0 JWKS and returns the protected dashboard and service payloads.