NestJS, Prisma, PostgreSQL, Cloudflare R2

Open Source

Auth-Pro

Auth-Pro is a production-ready authentication, email, and storage microservice built with NestJS, Prisma, and PostgreSQL. It offers a self-hosted alternative to Supabase's auth, email, and storage layers — use your own Neon database, SMTP provider, and Cloudflare R2 bucket with full ownership of every layer.

Auth-Pro - Main Screenshot
Open Source

Problem Solved

Teams building modern web apps often rely on bundled auth/email/storage platforms that create vendor lock-in, unpredictable pricing at scale, and limited control over infrastructure. Auth-Pro solves this by giving developers a modular, self-hosted foundation with JWT auth, transactional email, and media storage they fully own.

Tech Stack

NestJSTypeScriptPostgreSQLPrismaJWTCloudflare R2sharpnodemailerhelmetJest

Key Features

1

JWT authentication with signup, login, and protected routes

2

Password reset and email verification flows

3

Avatar and image uploads to Cloudflare R2 with WebP compression

4

Three-tier rate limiting and HTTP security headers

5

130+ unit and E2E tests with mocked external services

6

Built-in Swagger UI and interactive API documentation

Interested in this project?

Check out the live demo or get in touch to discuss how I can help build something similar for your business.