# Production launch checklist

> Verify authentication, Stripe Live mode, custom domains, mobile polish, SEO, and runtime performance before sending real customers to your app.

- Canonical: https://exaspark.ai/docs/production-checklist/

## Why a structured launch gate pays off

Publishing an app on ExaSpark takes one click, which makes it tempting to share your link the moment **Preview** looks right. Yet real customers immediately stress paths that casual testing skips: password resets, non-admin permissions, live card receipts, slow mobile networks, and search crawlers.

Running a structured pre-launch checklist takes twenty minutes and prevents the vast majority of day-one outages, lost payments, and broken social shares. Treat this guide as your repeatable release gate before every public launch or paid campaign.

## The 12-item production readiness matrix

Verify all twelve checks against your **Live** environment before announcing your app or activating ad spend.

| # | Area | What to verify | Pass criterion |
| --- | --- | --- | --- |
| **01** | **Sign-in & recovery** | Register a fresh account, sign out, sign back in, and trigger password reset on Live | Every auth flow succeeds without broken redirects |
| **02** | **Roles & RBAC** | Sign in as a standard member and try visiting admin routes or mutating restricted records | Server returns access denied; private data never leaks |
| **03** | **Preview vs Live split** | Inspect your Live **Cloud** tables and user list | Zero dummy test records or test accounts appear in Live |
| **04** | **Stripe Live checkout** | Complete one real low-value purchase in **Live mode**, inspect order state, then refund | Receipt arrives, webhook unlocks access, database updates cleanly |
| **05** | **Custom domain & HTTPS** | Visit apex domain, `www`, and deep links on desktop and phone | Automatic HTTPS lock appears with clean canonical redirect |
| **06** | **Branded email** | Trigger verification, receipt, and booking emails to Gmail and Outlook inboxes | Emails land cleanly in primary inbox with correct brand sender |
| **07** | **Mobile Device Lab** | Audit homepage, sign-up, and checkout across phone and foldable viewports | Zero horizontal scroll, clipped modals, or tiny tap targets |
| **08** | **SEO & social cards** | Inspect title tags, descriptions, sitemap, and paste URL into social link previews | Accurate title, crisp summary, and properly framed Open Graph image |
| **09** | **Legal & support links** | Click Privacy Policy, Terms of Service, refund policy, and contact links in footer | All pages load cleanly and match your actual business details |
| **10** | **File upload scoping** | Upload an avatar or document as User A, then test direct access as User B | Public assets load fast; private files remain access-controlled |
| **11** | **Empty & error states** | Submit invalid forms, open empty dashboards, and visit a nonexistent route | Clear recovery guidance appears instead of blank screens or raw errors |
| **12** | **Analytics & rollback** | Open [Analytics & live health](https://exaspark.ai/docs/analytics/) right after **Publish** | Uptime green, zero 5xx spikes, and previous stable release ready |

> **Note:** Never skip check **04** with a real card before launching paid traffic. Testing in **Preview** proves Stripe Test mode works; one live dollar test proves your live keys, live webhooks, and live database align end to end.

## Pre-launch runbook template

Copy this sign-off sheet into your team notes or release tracker before pushing a major milestone live.

```text
Production Release Gate
- Project & live domain: https://app.yourdomain.com
- Release owner:
- Previous rollback version confirmed: [ ] Yes
- Auth tested (email + OAuth + password reset): [ ] Pass
- Non-admin RBAC boundary check: [ ] Pass
- Live Stripe $1 checkout + webhook + refund verified: [ ] Pass
- Custom domain apex + www HTTPS verified: [ ] Pass
- Branded email inbox delivery checked: [ ] Pass
- Browser Device Lab (mobile + tablet + foldable): [ ] Pass
- SEO meta tags, OG image, sitemap checked: [ ] Pass
- Privacy Policy, Terms, and support email live: [ ] Pass
- Post-Publish 15-minute Analytics check clean: [ ] Pass
```

## Performance engineering for live apps

Fast apps convert higher, rank stronger in search, and consume fewer runtime credits. Focus optimization on the three layers that dominate real-world load time.

### Frontend and page-speed optimization

Most sluggishness on modern web apps comes from shipping too much UI work during the initial page load.

- **Prioritize above-the-fold clarity.** Render hero headlines, primary media, and the main call to action immediately; defer secondary charts, heavy maps, or below-the-fold galleries.
- **Paginate long lists by default.** Never render hundreds of catalog items, bookings, or admin rows into the browser at once; default to 20–25 items per page.
- **Keep third-party embeds lean.** Avoid stacking redundant chat widgets, external analytics trackers, or heavy font families that delay first paint on mobile data.

### Image and media optimization

Uncompressed phone uploads are the single most common cause of multi-second mobile load times.

- **Right-size hero and card assets.** Avoid dropping 6 MB raw camera photos into 400px product cards; generate properly framed assets in [Creative Studio](https://exaspark.ai/docs/media/) and compress large uploads.
- **Declare explicit aspect ratios.** Reserve image box height on cards and heroes (`1:1`, `4:5`, `16:9`) so pages never jump downward while images finish loading.
- **Lazy-load below-the-fold imagery.** Load the hero image eagerly and set lower gallery or catalog rows to lazy-load as visitors scroll.

### Database query efficiency and compute headroom

Clean database habits keep dashboards responsive as your customer base grows from ten users to ten thousand.

- **Filter and sort on the server.** Query only the columns and records needed for the active screen instead of pulling full tables into client memory.
- **Index frequent lookup columns.** Add indexes on fields used in filters, joins, and sort orders — especially `user_id`, `status`, `slug`, and `created_at`.
- **Monitor database compute limits.** Free and Starter support up to `0.5 CU` database compute, while **Pro** raises headroom to `1.0 CU`. Watch query latency inside [Analytics & live health](https://exaspark.ai/docs/analytics/) before traffic surges.

> **Example prompt (App):** Run a pre-launch production pass on my app: add server-side pagination (20 rows per page) to the admin orders and bookings tables, add database indexes on user_id, status, and created_at, lazy-load catalog images below the fold, ensure every page has unique SEO title and Open Graph tags, and add helpful empty states for new accounts.

## Post-launch monitoring cadence

Launching is the start of operational care, not the finish line. Follow a light, predictable monitoring rhythm:

1. **Minutes 0–15 after Publish** — Watch uptime, API 5xx errors, and frontend latency in [Analytics & live health](https://exaspark.ai/docs/analytics/). Roll back immediately if errors climb.
2. **First 24 hours** — Review real user registrations, email delivery logs, and the first live Stripe charges for edge cases you did not anticipate.
3. **End of Week 1** — Inspect slow routes, mobile funnel drop-offs, and credit usage trends; apply targeted optimizations in **Preview** before publishing updates.
4. **Every future release** — Test risky schema or payment changes strictly in **Preview** first, keeping **Live** untouched until checks pass.

## Next steps

- [Preview vs Live](https://exaspark.ai/docs/preview-vs-live/) — Keep experiments isolated from real customer accounts and payments.
- [SEO & AI search](https://exaspark.ai/docs/seo-and-ai-search/) — Verify structured metadata, sitemaps, and search visibility.
- [Troubleshooting & errors](https://exaspark.ai/docs/troubleshooting/) — Resolve any error you uncover during pre-launch checks.

## From the blog

- [App launch checklist](https://exaspark.ai/blog/app-launch-checklist/) — A practical 30-day roadmap for launching your first app.
- [Make your website load faster](https://exaspark.ai/blog/how-to-make-a-website-load-faster/) — Speed wins that improve mobile conversion immediately.
- [App security checklist](https://exaspark.ai/blog/app-security-checklist/) — Essential security checks every founder should run before launch.
