Before you build

Set up these five things before your next app

Your app sits on top of five layers. Put each one in place before you write the first feature: somewhere to save your code, somewhere it goes live, a database with logins, a way to get paid, and an address with analytics. Tap a layer to see what it does, then copy its prompt into Claude Code at the root of your project.

01

GitHub

Every change gets saved. When Claude breaks something, you go back to the last version that worked instead of untangling it.

  1. Make a free account at github.com and create a private repository for the app.
  2. Install the GitHub CLI (gh) and run gh auth login once.
  3. Tell Claude to commit after every change that works, with a message that says what changed.

Free.

Paste at Claude Code: GitHub
Set this project up on GitHub. Run git init if needed, add a sensible .gitignore (never commit .env files), create a private repo with gh repo create, and push. From now on, commit after every change that works, with a one-line message saying what changed. If something you change breaks the app, tell me and offer to revert to the last working commit.
02

Vercel

Every time you push, your site goes live on its own, and every branch gets its own preview link you can open on your phone before it reaches anyone.

  1. Sign in at vercel.com with your GitHub account.
  2. Import the repo (Add New → Project). Pushes to main go live; every other branch gets a preview URL.
  3. Put your secrets under Settings → Environment Variables, never in the code.

Free on the Hobby plan for personal projects.

Paste at Claude Code: Vercel
Get this project deploying on Vercel. Install the Vercel CLI, run vercel link to connect this folder to a new project, and make sure the build passes with vercel build. List every environment variable the app reads and add each one with vercel env add for production and preview. Then push to GitHub and give me the production URL.
03

Supabase

Your database and your logins in one place, so people can sign up on day one instead of after you’ve built auth yourself.

  1. Create a project at supabase.com and copy the project URL and anon key.
  2. Turn on email sign-in under Authentication.
  3. Turn on Row Level Security for every table, so users only ever see their own rows.

Free tier to start.

Paste at Claude Code: Supabase
Add Supabase to this app. Install @supabase/supabase-js, read NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY from .env.local (I’ll paste the values), and add them to Vercel too. Build email sign-up, log-in and log-out pages. Create a profiles table linked to auth.users, turn on Row Level Security on every table, and write policies so a user can only read and write their own rows.
04

Stripe

Set up payments now, so the first person who loves it can actually pay you.

  1. Make an account at stripe.com and stay in test mode until it works end to end.
  2. Create a product and a price in the dashboard.
  3. Use Stripe Checkout and a webhook, so the app finds out a payment happened even if the user closes the tab.

No monthly fee; Stripe takes a cut of each payment.

Paste at Claude Code: Stripe
Add Stripe payments with Checkout. Read STRIPE_SECRET_KEY, STRIPE_PRICE_ID and STRIPE_WEBHOOK_SECRET from the environment (test mode keys for now). Add a button that creates a Checkout Session and redirects to it, a success page, and a webhook route that verifies the signature and marks the user as paid in Supabase on checkout.session.completed. Show me how to test it with the Stripe CLI and the 4242 test card.
05

Domain + analytics

A real address people can remember, and analytics so you can see who shows up and where they drop off before you guess.

  1. Buy the domain from any registrar (Cloudflare, Porkbun, Namecheap) and add it in Vercel under Settings → Domains.
  2. Add analytics on day one: Vercel Web Analytics is one line, or Google Analytics if you want more.
  3. Track the steps that matter as events: visit, sign up, pay. The drop between them is your to-do list.

A domain is usually around $10–15 a year.

Paste at Claude Code: Domain + analytics
Connect my domain and add analytics. Walk me through adding the domain in Vercel and the DNS records my registrar needs. Then install @vercel/analytics, add the Analytics component to the root layout, and send custom events for sign_up when an account is created and purchase when the Stripe webhook marks someone paid, so I can see the funnel from visit to sign-up to payment.

Do it in this order. GitHub first, so everything after it can be undone. Keep Stripe in test mode until a full sign-up-and-pay run works on your preview link.

More field guides

All guides →
Jev · GuideHow to set up Jev and make your first API call →Step by step, about 5 minutesJev · GuideHow to automate SEO internal linking with Jev →The script, the prompt and the threshold ruleJev · GuideHow to find sales prospects ready to buy with Jev →Two scripts and the three filtering questionsJev · GuideHow to automate bookkeeping with Jev →Categorize every transaction, flag what needs a humanJev · GuideHow to filter Amazon products fast with Jev →The agent browser, the rules as questions, the raceJev · GuideHow to search Zillow by what the filters can’t see with Jev →699 listings judged in under 18 secondsJev · GuideHow to check legal citations and research state law with Jev →LegalJev (free) and Monid, side by sideJev · GuideHow to build a Clay-style lead list with Jev →Treg on GitHub: judge first, pay secondJev · GuideHow to find buyers on LinkedIn with Jev →290 posts scored in 3.8s, 23 buyersJev · GuideHow to sort your inbox with Jev →500 emails in 7 seconds for a centJev · GuideHow to find viral TikToks with Jev →780 videos, 137 outliers, sorted by nicheHiggsfield · GuideHow to swap the people in any video with Higgsfield Genjutsu →The clip, the photos, the prompt and the costChatGPT · GuideHow to build and submit your own ChatGPT plugin extension →The server, the ZIP and the review checklistClaude Code · GuideHow to make motion graphics with Claude Code →Six looping effects, one prompt eachClaude Code · GuideHow to security-check your vibe-coded app with Claude Code →One prompt, 20 checks, a fix listClaude Code · GuideHow to make Claude Code attack your own app before you launch →One prompt, two test accounts, every hole it got throughGrokBot · GuideWays to use GrokBot →The setup, ten jobs from the reels and 100+ promptsMuse · GuideWays to use Meta Muse →Five builds with prompts, plus 100+ moreClaude Code · GuideThe Claude Code handbook →How the Claude Code team makes Claude prove its work, and more plays to copyClaude Code · GuideHow to get the most out of Claude Fable 5.2 →Cost, design, finishing the job, and five skills to installChatGPT · GuideHow to get more out of ChatGPT →The four-part prompt, Work vs dots, plugins, and ChatGPT for SalesClaude Code · GuideThe UX checklist: make your app easier to use →The UX laws, a checklist per screen and one audit promptJev · Directory200+ Jev demos, repos and docs by team →Everything worth watching or running