- src/components/PayButton.tsx:14router.push('/api/checkout')
- src/app/api/checkout/route.ts:13stripe.checkout.sessions.create({
- src/app/api/webhooks/stripe/route.ts:7event.type === 'checkout.session.completed'
- src/lib/cart.ts:22export async function getCart(req: Request)
Your own app becomes the lesson.
Built it with Lovable, Cursor, Bolt, v0, Replit or Claude Code? Connect it from GitHub and Codeplain searches every file, reads any of them and follows an import to where the work happens. You learn on the code you are building, not a textbook example.