Stack cloud pour applis IA — Maîtrise8 / 8
Shipping in Days — The Wiring Playbook
The whole stack assembled into a build order: from empty repo to a paid, emailing, AI-powered product in a working week.

Here is the whole stack as a build order — the sequence that takes you from empty repo to a paid, emailing, AI-powered product in a working week.
The order
- Day 1 — App shell. Next.js on Vercel, deploys on push. Get a preview URL live before anything else.
- Day 1–2 — Data + auth. Supabase project, schema, RLS policies, sign-in. Now you have users and somewhere to put their data.
- Day 2–3 — The AI core. The actual feature: LLM calls, streaming, and (if RAG) pgvector retrieval. This is your product — give it the most time.
- Day 3–4 — Payments. Stripe Checkout + the webhook that grants access. Build and test entirely in test mode.
- Day 4 — Email. Resend with domain auth; the receipt/welcome fired from the webhook.
- Day 5 — Config + launch checklist. Per-environment keys, secrets audit, and the list below.
Defer without guilt
AWS, advanced analytics, a custom admin panel, multi-region — all of it waits until a real user or constraint demands it. Shipping beats architecting.
Launch checklist
- Stripe in live mode, webhook signature verified, access granted server-side.
- SPF/DKIM/DMARC on the sending domain; a real test purchase received the email.
- No secret in the client bundle; prod env vars set on Vercel.
- RLS policies tested with a non-owner account.
- Error monitoring on; p95 latency acceptable on the AI path.
Série — Stack cloud pour applis IA — Maîtrise
- Partie 01La pile technologique IA pragmatiqueChoisir une infrastructure, c'est où disparaissent les semaines. Voici une pile par défaut qui permet à une petite équipe de livrer un produit IA en quelques jours — et quand s'en écarter.
- Partie 02Next.js sur Vercel — La couche applicativeUn framework pour l'UI, l'API et le rendu serveur ; une plateforme qui déploie au git push. La couche applicative est celle à laquelle vous ne devez jamais penser.
- Partie 03Supabase — Postgres, Auth & Storage in OneReal Postgres, auth, file storage and pgvector behind one SDK. For an AI product, having your data and your vectors in the same database is a quiet superpower.
- Partie 04Stripe — Payments & SubscriptionsFacturer de l'argent est un problème résolu — si vous laissez Stripe le résoudre. Checkout, abonnements, et le webhook qui est la véritable source de vérité.
- Partie 05Resend — Email transactionnel qui arriveLe reçu, le lien de téléchargement, la réinitialisation de mot de passe — s'ils finissent en spam, votre produit semble cassé. La délivrabilité est une fonctionnalité.
- Partie 06AWS — Quand vous dépassez la voie managéeLa stack managée couvre 90 % d'un produit IA. AWS est l'échappatoire pour les 10 % restants — les jobs longs, l'inférence GPU, les gros fichiers. Utilisez-le de manière chirurgicale.
- Partie 07Secrets, Env & Config Across EnvironmentsFive services, three environments, one leaked key away from a bad week. Config discipline is unglamorous and non-negotiable.
- Partie 08Shipping in Days — The Wiring Playbook — vous êtes iciThe whole stack assembled into a build order: from empty repo to a paid, emailing, AI-powered product in a working week.