⚡ TypeScript · Node.js · Prisma · Docker

Your Next API.
Already Built.

3 production-ready API boilerplates: REST, GraphQL, and Realtime. Auth, tests, CI/CD, Docker — everything you need to ship today. Stop reinventing the wheel.

# 15 minutes to production
git clone https://github.com/zootechnologies/api-boilerplate
cd api-boilerplate/rest-api
cp .env.example .env
docker compose up -d
# API running at localhost:3000
# Swagger docs at localhost:3000/docs

3 Boilerplates, 0 Excuses

Pick the one that fits your stack — or use all three.

🌐

REST API Boilerplate

Express.js / Fastify with everything you need. The foundation for any web service.

  • JWT auth + OAuth2 (Google, GitHub)
  • RBAC + request validation (Zod)
  • Rate limiting + throttling
  • Swagger/OpenAPI documentation
  • Unit + integration tests (Vitest)
  • Pluggable: Stripe, S3, BullMQ
🔷

GraphQL API Boilerplate

  • Apollo Server with schema-first design. Real-time subscriptions & federation ready.

    • Schema-first with code generation
    • WebSocket subscriptions
    • Apollo Federation support
    • Dataloader for N+1 prevention
    • File uploads via GraphQL
    • Auth directives + role guards
  • Realtime API Boilerplate

    WebSocket-based with presence, rooms, and pub/sub. The backbone for live features.

    • WebSocket + fallback to SSE
    • Presence tracking (online/offline)
    • Rooms + channel system
    • Pub/Sub with Redis adapter
    • Reconnection + heartbeat
    • Horizontal scaling ready

    Everything Included

    Not a skeleton. A complete, working API.

    User registration / login / password reset
    Email verification
    API key management
    Webhook system (outbound)
    Admin panel scaffolding
    Stripe integration (subscriptions)
    File upload (S3 / Cloudflare R2)
    Queue system (BullMQ)
    Cron job scheduler
    Prometheus metrics endpoint
    Structured logging (Pino)
    CI/CD pipeline (GitHub Actions)

    Deploy Anywhere

    ▲ Vercel (serverless) 🚂 Railway 🎨 Render ☁️ AWS ECS/Fargate 🌊 DigitalOcean 🐳 Self-hosted Docker

    Ship Faster. Pay Once.

    3 production APIs. One price. Lifetime updates.

    📦 All 3 Boilerplates

    API Boilerplate Collection

    $39
    one-time payment
    Get Instant Access — $39
    🔒 Secure payment via Stripe · 30-day money-back guarantee

    FAQ

    Do I need to know TypeScript?

    Yes, basic TypeScript knowledge is required. The code is fully typed with detailed comments.

    Can I use this commercially?

    Absolutely. Full commercial license. Build your SaaS, ship it, monetize it.

    How do I get updates?

    All future updates are included free. Watch the GitHub repo and pull when new versions drop.

    Does it work with my frontend?

    Yes — the REST and GraphQL APIs work with any frontend. React, Vue, Svelte, Next.js, whatever you use.

    Stop Building Boilerplate.
    Start Building Features.

    3 production APIs. Auth, tests, CI/CD, Docker. Everything. $39 one-time.

    Get All 3 APIs — $39
    🔒 Payment secured by Stripe · Instant access · 30-day guarantee