Summary: Gymondo’s shared public web app (login, signup and checkout funnel, password pages) in the Gymondo-git org. Since 2026-09-14 it also serves 7Mind on app.7mind.* with a 7Mind theme, replacing the old Chargebee checkout.
Sources: direct code inspection (CLAUDE.md, src/middleware.ts, src/app/[locale]/signup/config/state-machine/sevenmind.ts, src/util/sevenmind-links.ts, .infrastructure/service-prod.tfvars, Jenkinsfile), git log; Slack DMs and 7m_product-team-public. 2026-11-09: re-checked origin/develop and origin/main (release PRs, MIND-842 merge #384) and the hand-off code in website-next-js (lib/checkout/redirect.ts, lib/appDomain.ts)
Last updated: 2026-11-09
Purpose
The public-facing web app for all three 7NXT vendors (Gymondo, Buddyfit, 7Mind): login, signup and checkout, reset password, change password, plus Gymondo landing pages. For 7Mind it is where every web purchase and every web login happens.
GitHub: Gymondo-git/frontend-public-pages. Owned by the Gymondo web team (Ahmed Bayoumy for the 7Mind work). Changes here affect all brands, so coordinate before changing shared checkout behaviour.
Stack
- Next.js 14 App Router, React, TypeScript, Redux, XState for the checkout funnel
- Shared UI and API helpers from
@gymondo/frontend-core(the 7Mind theme issrc/themes/themes/sevenmind.tsthere) - Adyen for payments (payment method selector, Google Pay; merchant id
SiebenMindfor 7Mind) - Jest
Key Files / Entry Points
CLAUDE.md— agent guide for the reposrc/middleware.ts— vendor detection from the host viagetVendor;7mind.*and6mind.*resolve toSEVENMINDsrc/app/[locale]/login/,signup/,reset-password/,change-password/— the pages 7Mind usessrc/app/[locale]/signup/config/state-machine/sevenmind.ts— the 7Mind checkout state machinesrc/util/sevenmind-links.ts— 7Mind-specific links.infrastructure/service-{test,stage,prod}.tfvars— per-environment config, including theSEVENMIND_*URLs
Deployment
- Jenkins (
Jenkinsfile,servicePipeline(...)) builds the Docker image; it runs on Gymondo’s Kubernetes (EKS) behind CloudFront and Kong. - Default branch is
develop. Production deploys frommain, which only moves through[RC] WEB 2026.xrelease PRs (for example 2026.22.02, #406, on 2026-10-29). A fix merged todevelopis not live until the next RC is merged; checkorigin/mainbefore calling something live. - 7Mind hosts:
app.7mind.deand the other country domains (prod),app.6mind.de(test). - 7Mind prod config: REST API
https://app.7mind.de/api, OAuthhttps://app.7mind.de/api/v2/oauth, social loginhttps://app.7mind.de/api/v2/social-login, BFFhttps://app.7mind.de/train/api, pre-login sitehttps://www.7mind.de, post-loginhttps://app.7mind.de.
Dependencies
External services: Adyen, Contentful (checkout content uses the 7NXT Contentful setup), Braze, Google Tag Manager. Internal: Gymondo SSO, subscription and payment services on gymondo-platform. See gymondo-sso-auth and subscription-billing.
Integration Points
- website-next-js sends users here and shares the issued OAuth tokens through parent-domain cookies. Login: its login slugs 302 to
/login, with the return target in?fw=<absolute url>(?redirect=is ignored here). Password reset: its reset slugs 302 to/reset-password. Checkout: a product CTA opens/signup?article_number=<Chargebee item-price id>, plusvoucherandchannel_idwhen present. - 7mind-mobile-apps-monorepo calls the SSO API on the same host (
app.7mind.de/api/v2/users/reset-password). - The old 7Mind checkout pages in Storyblok were not migrated.
Conventions
- Styling and copy for 7Mind match the old 7Mind auth pages and footer since MIND-842 (#384, merged 2026-10-13, live in production). 7Mind-specific UI lives in
sevenmind-*folders (footer, loading screen, fonts undersrc/app/assets/sevenmind/). - Any change to the shared checkout flow affects Gymondo and Buddyfit too.
Agent Change Log
2026-10-06 — note created during the wiki update for the Gymondo backend migration 2026-11-09 — added the develop/main release flow and the website hand-off contract; MIND-842 is done