Behind the code
LiveSign in

Behind The Code

An open-source, single-publisher video platform for selling your own videos and courses. Self-hosted and fully yours — built on Next.js, Mux, and Supabase, with subscriptions and one-time purchases via Polar. Deploy your own in minutes.

Made by @pontusab and @viktorhofte

© Behind The Code

AboutTermsPrivacy
Deploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your own
Deploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your ownDeploy your own

Webhooks that never drop

In this video, we'll walk through how we approached the problem, the trade-offs we considered, and how the final implementation came together.

Introduction

We start by setting up the project and wiring the core pieces together. The goal is to keep the surface area small while leaving room to grow. Along the way we'll touch on data fetching, caching, and how to keep the UI responsive.

Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aliquam sapien dolor, scelerisque sit amet faucibus sed, congue eu odio. Morbi eleifend leo eros, nec sollicitudin arcu hendrerit at.

Wrapping up

With the foundations in place, the rest is iteration — ship something small, measure, and refine.

Engineering

5 videos1h 44 min

Chapters

  1. Edge-rendered dashboards
  2. 2.Webhooks that never drop
  3. Streaming server components
  4. Scaling Postgres to a million rows
  5. Type-safe APIs end to end

Video resources

Download videoRepository