Master prompt builds a full pay-to-rank app: schema, Stripe, RLS included
aliscodes · x · 2026-08-23
The author shares a Master Prompt for Cursor / Claude Code / Antigravity that builds a real-time pay-to-rank leaderboard: Next.js 14 App Router + TypeScript, Supabase Postgres, Stripe Checkout, no auth. It includes the full schema — an entries table (url, unique urlkey, amountcents, firstpaidat), a payments table (unique stripeeventid for idempotency), a partial index on amountcents desc, and RLS enabled. URLs are normalized (lowercase, strip www, drop query/hash) to collapse duplicates; payments flow through an applypayment Postgres function.
Related event: Two Indie Developers Ship Paid Bidding Leaderboards in Two Days(6 posts)→
More from coding & agent
- open-daytona: rootless gVisor sandbox pool runs 1,536 concurrent agent-RL sandboxes on Slurm — victor_explore · 2026-11-30
- SteerCamp launches on iPhone: AI coworkers run cloud PCs while you approve on the go — pramodk73 · 2026-11-30
- Returning to Squad after 6 months: the agent OS feels far more mature — ayushtweetshere · 2026-11-30
- Indie dev vibe-codes a native iOS RSS app with 183 curated AI sources, awaiting TestFlight — vista8 · 2026-11-30
- AI Slides: Why Text-Layer Separation and Native PPTX Both Fall Short, and When to Pick Which — dotey · 2026-11-30
- Taku OS: open-source Android build embeds AI agents at the OS level — RevolutionStandard56 · 2026-11-30