SaasBackend

Micro SaaS template for solo-entrepreneurs

Get your SaaS up and running quickly with authentication, Stripe billing, user management, and admin features built-in.

Features

🔐 Authentication

JWT-based authentication with access and refresh tokens, password reset functionality, and secure user sessions.

💳 Stripe Integration

Complete billing system with Stripe integration, subscription management, billing portal, and webhook handling.

👥 User Management

User profiles, waiting lists, email notifications, activity logging, and comprehensive user administration.

⚙️ Admin Panel

Built-in admin interface with global settings, user management, billing overview, and system monitoring.

🔧 Middleware Mode

Flexible integration options - use as middleware in existing apps or as a standalone backend solution.

📧 Email Services

Email notifications, password reset emails, and comprehensive email logging with Resend integration.

Quick Start

Install

npm install saasbackend

Configure

Set up your environment variables and MongoDB connection

Integrate

Use as middleware or standalone backend

Launch

Your SaaS is ready to go!

Built With

Node.js
Express.js
MongoDB
Stripe
JWT
Resend
Jest