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 is src/themes/themes/sevenmind.ts there)
  • Adyen for payments (payment method selector, Google Pay; merchant id SiebenMind for 7Mind)
  • Jest

Key Files / Entry Points

  • CLAUDE.md — agent guide for the repo
  • src/middleware.ts — vendor detection from the host via getVendor; 7mind.* and 6mind.* resolve to SEVENMIND
  • src/app/[locale]/login/, signup/, reset-password/, change-password/ — the pages 7Mind uses
  • src/app/[locale]/signup/config/state-machine/sevenmind.ts — the 7Mind checkout state machine
  • src/util/sevenmind-links.ts — 7Mind-specific links
  • .infrastructure/service-{test,stage,prod}.tfvars — per-environment config, including the SEVENMIND_* 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 from main, which only moves through [RC] WEB 2026.x release PRs (for example 2026.22.02, #406, on 2026-10-29). A fix merged to develop is not live until the next RC is merged; check origin/main before calling something live.
  • 7Mind hosts: app.7mind.de and the other country domains (prod), app.6mind.de (test).
  • 7Mind prod config: REST API https://app.7mind.de/api, OAuth https://app.7mind.de/api/v2/oauth, social login https://app.7mind.de/api/v2/social-login, BFF https://app.7mind.de/train/api, pre-login site https://www.7mind.de, post-login https://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>, plus voucher and channel_id when 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 under src/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