Cookbook
Ready-to-use code recipes for common tasks. Copy, paste, and customize.
How to Use This Cookbook#
Each recipe provides:
- Complete, working code you can copy directly
- Dependencies to install
- Environment variables needed
- Customization tips for your use case
Authentication#
| Recipe | Description |
|---|---|
| Clerk + Next.js | Full authentication setup with Clerk |
| OAuth Providers | Add Google, GitHub, Discord login |
| API Key Auth | Secure API endpoints with API keys |
Database#
| Recipe | Description |
|---|---|
| Prisma Setup | PostgreSQL with Prisma ORM |
| Database Migrations | Safe migration strategies |
| Multi-Tenant Database | Row-level security patterns |
Payments#
| Recipe | Description |
|---|---|
| Stripe Checkout | One-time payments |
| Subscriptions | Recurring billing |
| Usage-Based Billing | Metered billing |
Deployment#
Integrations#
| Recipe | Description |
|---|---|
| OpenAI | GPT-4 integration |
| Claude | Anthropic Claude integration |
| Stripe | Payment processing |
| Resend | Transactional emails |
Quick Reference#
Most Common Recipes#
1# Authentication
2bootspring skill apply clerk-auth
3
4# Database
5bootspring skill apply prisma-setup
6
7# Payments
8bootspring skill apply stripe-subscriptionsRecipe Categories by Use Case#
Building a SaaS?
Building an API?
Building a Marketplace?
Contributing Recipes#
Have a useful recipe? Submit a PR with your recipe following our recipe template.