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
- raylib 6.2 ships with 300+ improvements and 100 new contributors, 20 new API functions — jsuarez · 2026-10-16
- "Vibecoding" is as misleading a label as "AI" and "SI," dev complains — eschadiol · 2026-10-16
- Doc2Harness: New benchmark finds best coding agent passes only 53% across 329 cases — _akhaliq · 2026-10-16
- Perplexity open-sources SPACE, the Firecracker microVM sandbox behind Perplexity Computer — perplexity_ai · 2026-10-16
- Blackstone goes all-in on Factory for autonomous software development — matanSF · 2026-10-16
- Longtime Windsurf user cancels $10/month legacy plan, citing AI subscription fatigue — tristanbob · 2026-10-16