Fuckers Skateboards
Storefront for a local, independent skateboard brand. Next.js, Postgres, Stripe.

01Context
An e-commerce site for a small local skateboard brand with nobody on staff to manage it full-time. Correctness and reliability have to be built into the design rather than ensured by human oversight.
02Checkout
Guest checkout runs through Stripe, but prices and stock are re-read from Postgres and reserved under row locks before a payment session exists, so the store can never oversell. Every checkout carries an idempotency key, so a retried request converges on the same reservation, and a cron worker recovers reservations whose Stripe session creation failed mid-flight.
03Orders and admin
Orders exist only once Stripe's webhook confirms payment. Webhook events are stored exactly once and refund and dispute state is derived from them, so late or out-of-order events converge on the right answer. Confirmation emails go through a retrying outbox. An admin surface for products, orders, local delivery, and shipping rates keeps day-to-day running to a few screens.
04Verified
Tested with over 400 cases, including concurrency suites that run against a real Postgres instance and Playwright flows against test-mode Stripe and Clerk. CI runs audit, lint, typecheck, tests, and a full build on every PR, and production deploys only after migrations succeed against a verified database.
05Stack
Next.js, Neon Postgres, Drizzle, Stripe Checkout and Tax, Clerk, Cloudflare R2, Resend, Sentry


















