Skip to content
Module
Module 6 of 6Lesson 1 of 3~22 min

GDPR and switching to live mode

Opening an app to real users and real payments makes you accountable, and some oversights are hard to fix afterward. This lesson helps you apply GDPR basics to a small SaaS and prepare the switch to live mode, separating what must be ready before launch from what can wait.

Lesson objective

By the end of this lesson, you will be able to apply GDPR basics to your app (informing users, deleting the account and its data, processors, hosting region, records, data breaches) and run through a go-live checklist, telling what blocks opening from what can wait.

Topics covered

  • GDPR
  • SaaS compliance
  • going live
  • Stripe live mode
  • data protection

Where it fits

Get compliant, deliver and go live

What must be settled before welcoming real users and taking real payments?

Lessons in this module

  1. GDPR and switching to live mode (this lesson)
  2. Workshop: your app with accounts, data and payments
  3. Exit kit and application plan

What you will learn in this module

This lesson is part of the course Add a database, authentication and payments to your app

  • Manage environment variables and secrets (public VITE_ variables, secret keys on the server only, .env files kept out of Git, rotation after a leak).
  • Have the agent design a data model and its migrations, then check that data is actually stored and linked to the right user.
  • Write, have written and test Row Level Security rules that guarantee each user only accesses their own data and that plan limits are enforced in the database.
  • Add sign-up, sign-in, sign-out and password reset, and verify the flows, email confirmation and redirect URLs.
  • Integrate Stripe Checkout in test mode (product, price, session created on the server, test cards) without exposing the secret key.
  • Hold payment status on the server with signed, deduplicated Stripe webhooks, tested with the Stripe CLI or the Dashboard.
  • Apply GDPR basics (information, account deletion, processors) and a go-live checklist before taking real payments.