Skip to content

Latest commit

 

History

History
90 lines (55 loc) · 2.62 KB

File metadata and controls

90 lines (55 loc) · 2.62 KB

Gumroad Listing Copy — API Boilerplate


Title

API Boilerplate — Express + Prisma + JWT Auth + Rate Limiting + Tests

A production-ready REST API you can deploy in 5 minutes. Auth, database, validation, Docker, and CI included.


Headline

Stop rebuilding the same API scaffolding for every project. Drop in this production-ready Express + Prisma boilerplate and start shipping endpoints immediately.


Bullet List

  • Express + Prisma — type-safe database access with SQLite or Postgres
  • JWT authentication — signup, login, bcrypt hashing, auth middleware
  • Zod validation — request body validation with detailed error messages
  • Rate limiting — configurable per-IP limits (anti-abuse)
  • Helmet security headers — protection against common vulnerabilities
  • Tests included — Node.js native test runner with health check test
  • Docker — multi-stage Dockerfile for production
  • GitHub Actions CI — pre-configured workflow with Postgres service
  • Clean architecture — routes, middleware, config separation

Description

The problem

Every new API needs auth, validation, rate limiting, security headers, database setup, tests, and deployment config. Rebuilding these correctly every time wastes days of setup before you write business logic.

The shortcut

This boilerplate hands you a complete, secure, tested REST API foundation. Clone it, set your environment variables, and start adding your routes.

Who is this for?

  • Backend developers — skip the repetitive setup
  • Indie hackers — get a solid API under your product fast
  • Agencies — consistent starting point for client projects
  • Students — study a clean, production-style architecture

What you get

  • Full Express + Prisma source
  • JWT auth (signup/login)
  • Zod validation + rate limiting + Helmet
  • Tests + Docker + GitHub Actions CI
  • MIT License — use commercially

Tech stack

Node.js · Express · Prisma · Zod · JWT · Docker


FAQ

Can I use this commercially? Yes. MIT license.

Does it support Postgres? Yes. Prisma is configured for SQLite by default; switch the provider for Postgres.

How do I add new endpoints? Follow the existing route/middleware pattern. Validation and auth are already wired.

Is it production-ready? Yes for the included features. Add monitoring and more tests as your app grows.


Pricing

$39 — Full source + auth + database + tests + Docker + CI + MIT license


Call to Action

[BUY NOW — $39]

30-day refund policy. If you can’t ship an API with this, I’ll return your money.