Skip to main content

Self-hosting overview

Use this sequence when deploying TutPro apps under your own domains. Each frontend is built and released independently; the Teacher, Student, Decks, Assess, Schools, Wordly, and Help URLs must be configured to point to the same intended account and backend where applicable.

Before you begin​

Prepare a Supabase organization/project, a hosting project for each app, DNS access for the domains, and email delivery for Supabase Auth. Use separate development/preview and production environments. Keep the public client key separate from all server secrets.

Deployment sequence​

  1. Choose final HTTPS hostnames and write down each app’s origin.
  2. Create the Supabase project and configure Auth site/redirect URLs.
  3. Apply the complete ordered TutPro migration chain; then apply the Decks database chain if Decks is part of this deployment.
  4. Deploy the Edge Functions required by the apps and set their server secrets.
  5. Add each app’s client variables in its hosting project. Add AI/provider credentials only to server-side environments.
  6. Build and deploy each frontend separately: Teacher, Student, Decks, Assess, Schools, Wordly, and Help.
  7. Connect each hostname and wait for HTTPS to become active.
  8. Test account sign-in, return routing, invitations, Student data, Teacher assignments, Assess attempts/AutoCheck, school access, and Wordly’s local backup behavior.

Read backend setup, domains, and release verification in order. Then follow each app-specific checklist below.

AppHostname exampleBackend
Teacher / accountwww.example.comShared Supabase Auth, database, and Edge Functions
Studentstudent.example.comSame Supabase project and student portal functions
Decksdecks.example.comSame Supabase project plus Decks tables/functions
Assessassess.example.comShared Auth/database and Assess integration function
Schoolsschools.example.comShared Supabase project; configured for one school
Wordlywordly.example.comBrowser-local data in the current app
Helpdocs.example.comStatic site; no app database

TutPro Check needs its separately supplied application package and release instructions before it can be included in this deployment plan.