product image
product image

Relay — API Product SaaS Starter (Keys + Rate Limiting)

$98.75$79Save 20%

Launch an authenticated API product in days, not months

Ship a production-ready API without building auth and billing from scratch. This Next.js 14 starter includes authenticated API key management with secure Stripe-style secret handling, a working URL-shortening endpoint, rate limiting by subscription plan, and integrated Stripe billing—all with zero third-party API costs.

Everything runs locally with SQLite for instant setup. The included Prisma schema, NextAuth configuration, and Tailwind components give you a complete foundation. Modify the example endpoint or build your own; the architecture supports any API use case.

What’s included:

  • API key generation with one-time secret reveal (hashed storage, public lookup ID)
  • Rate limiting enforced by customer plan tier
  • Stripe billing integration and subscription management
  • URL-shortening endpoint as a working example
  • NextAuth.js for user authentication
  • Prisma ORM with SQLite for local development
  • Tailwind CSS components and responsive UI
  • Unlimited projects per customer
  • Complete source code and documentation
Frequently asked questions