Deployment
Vytal uses four production origins:
vytal.fitfor marketing and public pagespro.vytal.fitfor the appmy.vytal.fitfor the athlete portalapi.vytal.fitfor API, auth, and the machine-readable contract
How the projects deploy
- Auth and API are separate from the app origin.
- Each Vercel project uses the matching monorepo root directory:
apps/landing,
apps/pro,apps/my, orapps/api. - Production Git deployments are restricted to
main. turbo-ignorelets Vercel skip unaffected projects in the monorepo.- Environment variables that affect production builds are listed in the root
turbo.jsonglobalEnvarray so Turborepo and Vercel hash builds correctly. - The docs workflow syncs
apps/docs/contentand the OpenAPI contract to ReadMe. - The API root redirects to
/openapi.json.
Environment ownership
api: database URLs, Better Auth secrets/origin, Google OAuth, S3, Brevo,
email provider config, and any server-only integration keys.proandmy:NEXT_PUBLIC_API_URLpointing tohttps://api.vytal.fit.mobile:EXPO_PUBLIC_API_URLpointing tohttps://api.vytal.fit.landing: only public marketing/runtime variables needed by the public site.
Updated about 2 months ago
Did this page help you?
