A recipe-sharing platform with premium content and Stripe payments.

RecipeHub is a full-stack recipe-sharing platform featuring user authentication, recipe management, premium content, Stripe payments, and a responsive user interface.
The Next.js frontend talks to a separate Express.js API, with MongoDB for data and Better Auth handling sign-up and sessions.
The Next.js frontend and the Express backend are separate, so sign-up, sessions and routes had to be set up with Better Auth and its MongoDB adapter in a way that works across both.
Adding a one-time Stripe Checkout payment meant using a webhook to mark the user as premium, and passing the recipe id through Stripe metadata so the right recipe gets unlocked.
Premium recipes should only be available to users who paid, so access has to follow the user's account and not just what the interface shows.