3 pointsby frodothebrave4 hours ago1 comment
  • frodothebrave4 hours ago
    Hi HN,

    I built this over the weekend as a social experiment. The concept is stupidly simple: it's a global leaderboard where you pay to own the #1 spot in your city.

    It’s basically digital graffiti. The highest bidder ranks #1 and gets a permanent backlink until someone outbids them.

    The Tech Stack: I forced myself to use Vanilla JS (no build step, no frameworks) + Firebase Realtime DB.

    Frontend: Just one index.html file.

    Backend: Netlify Functions to handle the Stripe webhooks securely.

    Payments: Stripe Elements.

    The hardest part was actually the "Delete" button—I had to hash the admin password in the client (SHA-256) and verify it on the server side to prevent people from nuking the database via the console.

    I've already bought "Keller, Texas" for $2. Curious to see who takes San Francisco.

    Roast my code (or my capitalism) below.