Urgent.News

What's breaking now, across hundreds 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.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

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.

No U.S. coal unit has retired in 2026 so far. Here is what happened to the 6.4 GW that was planned

In February, EIA said 6.4 GW of U.S. coal capacity was scheduled to retire in 2026. I went through EIA's own monthly generator inventory (Form EIA-860M, through the August 2026 report) row by row to…

  • No U.S. coal unit has retired in 2026 so far.
  • 2,770 MW of planned 6.4 GW have moved out of 2026 timeframe.
  • Sherburne County 1 in Minnesota remains on track for 2026 retirement.

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

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 2026 →