Urgent.News

What's breaking now, across thousands of outlets.

Tech

I built a tested Stripe + Supabase starter so I'd never wire billing again

Every paid app needs the same boring parts: sign-in, checkout, a webhook that turns access on and off, a billing page, and account deletion that doesn't leave a live subscription behind. I got tired of rebuilding them, so I packaged them up as Express Track. What's inside: React 19, TypeScript and Vite. Supabase sign-in (email, magic link, Google) with row-level security. Stripe Checkout for…

Creating a paid app often involves repetitive, mundane tasks like user authentication, checkout functionality, webhooks for managing access, a billing page, and ensuring user data is tidied up after deletion. The author found these processes tedious, leading to the creation of Express Track, a starter kit that simplifies these common app components.

The kit includes React 19, TypeScript, and Vite for frontend development. Supabase is utilized for user authentication, supporting email sign-ins, magic link verification, and Google sign-ins. Row-level security is implemented to ensure data privacy. Stripe Checkout is integrated to handle monthly, yearly, and lifetime subscription plans.

A signed webhook is included to filter out duplicate events. Stripe's customer portal is also incorporated. The kit comes with deployment configurations for Vercel and Netlify.

To ensure the system's reliability, the author conducted extensive testing. The kit comprises 186 unit tests, 43 security tests for database integrity, and Playwright smoke tests to simulate real-world user interactions. Additionally, a full run is executed in Stripe's test environment, simulating actions such as subscribing, canceling, refunding payments, handling failed transactions, and verifying the handling of duplicate events.

In practical testing, the author discovered a couple of issues. First, events could still be generated for users who had been deleted, and second, React's StrictMode mode could cancel actions intended to update a success page. Both problems were identified and resolved within the kit. The starter kit is available for purchase at $79, with a 30-day refund policy in case it does not meet expectations. Further inquiries or support can be directed to the provided link on Gumroad.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

chimini: the playable periodic table where you fuse elements and see what happens | Xiliux Blog

A periodic table you can play chimini is a chemistry and physics lab that runs in your browser, free and with nothing to install .

  • Chimini is a browser-based chemistry and physics lab for interactive element manipulation.
  • Users can fuse up to five elements to observe resulting compounds and their properties.
  • Offline accessibility makes Chimini ideal for limited internet connectivity environments.

GhostKey v2.0: Decentralized P2P Hardware Biometric Auth with ZKP Ledger

Traditional authentication architectures rely on central password stores, OAuth relays, and costly SMS OTP vectors. These create central honeypots vulnerable to credential stuffing, database leaks…

  • GhostKey Protocol is a decentralized, peer-to-peer authentication system
  • Anchors to hardware security modules (WebAuthn/FIDO2) for secure substrate
  • Uses zero-knowledge commitments and tamper-proof ledger for user identity protection

Build log: turning one photo into a ~13-second racing meme video on Cloudflare Workers

A short racing clip has been going around on short-video apps: someone in a deep squat, flying down a highway at absurd speed, with a chase behind them. People wanted to put their own face in it.

  • Single photo transformed into 13-second racing meme video on Cloudflare Workers
  • Users can upload their own faces to create personalized meme videos
  • Pipeline includes photo checking, reference clip usage, and audio stripping

Kavro - New update 1.0.5

Kavro 1.0.5 6 new widgets: radio buttons, collapsing header (the widgets inside show while it’s open), table, graph (line, area or bars; live values with kv::PlotAdd), text area and number input.

More from Friday 16 October →