Client Work · Membership Platform · Gaming · 2026
A subscription-driven content platform built for a client on the Next.js App Router, with layered access control gating every member and admin route.

raidlab is a gaming content hub built for a client, where access to products, tools, guides, live streams, and videos is gated by subscription plan. It runs on the Next.js 16 App Router with three route groups — public, members, and admin — each enforcing its own authorization layer.
Subscriptions and billing are handled through Stripe, authentication through Better Auth, and all content is managed by an admin CMS for the ADMIN and EDITOR roles. Every mutation flows through typed Server Actions with Zod validation and Drizzle queries.
Keeping authorization consistent across every domain was the hard part: each entity needs the same parse → authenticate → authorize → query → revalidate pipeline, with plan checks that an authenticated free item can override. A single reference implementation defines the contract every action follows.


