Note: This documentation uses Next.js App Router. If you're still on Pages Router, see the migration guide.

📚 Examples

Explore detailed examples with complete setup instructions, generated routes, environment variables, and testing commands.

Basic SaaS Setup

Create a simple SaaS with authentication and payments using the Quick Start Stack.

AuthStripeDatabase
View detailed example →

Multi-tenant Application

Build a multi-tenant SaaS with team management and role-based access.

TeamsAdminStripe
View detailed example →

E-commerce Platform

Create an e-commerce platform with Stripe integration and inventory management.

AuthStripePostgreSQL
View detailed example →

Analytics SaaS

Create a SaaS with user analytics, feature flags, and A/B testing capabilities.

AnalyticsFeature FlagsS3 Storage
View detailed example →

Notification SaaS

Create a SaaS with in-app notifications, transactional emails, and user settings.

NotificationsEmailsUser Settings
View detailed example →

What's included in each example?

  • Routes générées - Complete list of pages and API endpoints
  • .env minimal - Required environment variables
  • Smoke test - curl commands to test the API
  • Actions déclenchées - How to see results (emails, webhooks, etc.)
  • Aller plus loin - Links to related modules