Tag
Prisma
Guides filed under Prisma.
Launch
Waitlist referral codes and queue position
The Waitlist kit stores a unique refCode and computes position by counting earlier signups.
Stripe
Synchronizing Stripe subscription state with a database
Keep a plan column in Prisma aligned with Stripe subscription status using Checkout metadata and subscription events.
AI
Storing AI generation history
The AI SaaS Starter writes each finished generation to Prisma: prompt, output, credits, and the user id.
Marketplaces
Seller and listing architecture
In the Marketplace Starter a seller is a user, and a listing stores priceCents plus a category.
Stripe
SaaS subscription database schema
Which columns a Stripe subscription needs in Prisma, and which subscription statuses the Designyff webhook treats as Pro.
SaaS
SaaS database schema with Prisma
The Prisma user model in the Complete SaaS Starter Kit: identity, plan, and the two Stripe ids the webhook writes.
SaaS
Next.js SaaS boilerplate vs starter kit
What the smaller Next.js SaaS Boilerplate includes, and what you only get in the Complete SaaS Starter Kit.
SaaS
Next.js SaaS boilerplate architecture
A small App Router layout for accounts, a dashboard, and a billing route, and how it differs from a full SaaS kit.
SaaS
Multi-tenant SaaS with Next.js
What the Designyff SaaS kit stores per user, and what you still have to add if each customer needs an isolated workspace.
Marketplaces
Marketplace database schema with Prisma
Users, categories, listings priced in cents, and orders in the Marketplace Starter.
Jobs
Job board database schema
Companies, categories, and jobs in the Job Board Starter. A job stays pending until it is marked paid.
AI
Implementing AI usage limits and credits in Next.js
Enforce a monthly credit cap in Next.js by summing a Prisma generation ledger and reading the user's plan.
Directories
Directory database schema
Categories and listings in the Directory Starter. New listings stay pending until you publish them.
Launch
Building a waitlist with referrals in Next.js
Collect emails, issue a referral code, and compute a queue position with Prisma in a Next.js server action.
SaaS
Building a SaaS with Next.js, Stripe, and PostgreSQL
How to structure a Next.js 15 SaaS with Prisma, PostgreSQL, email-password sessions, and Stripe subscription state.
Jobs
Building a job board with Next.js
Model companies, categories, and jobs in Prisma and keep unpaid submissions off the public board.
Directories
Building a directory with Next.js
Model listings and categories in Prisma and render public, SEO-friendly listing pages in the Next.js App Router.