Your SaaS, ready on day one.
Auth, RBAC, an admin dashboard, and AI chat — built in. An open-core NestJS + Next.js framework on PostgreSQL/Prisma, so you ship features instead of rebuilding boilerplate.
New releases, fresh recipes, and breaking changes — no spam.
0
Modules Available
0
OAuth Providers
0
MFA Methods
0.0%
TypeScript
Built on a modern, fully typed stack — NestJS and Prisma on the backend, Next.js on the frontend, orchestrated as a pnpm + Turborepo monorepo.
Everything your SaaS needs, built in
Auth, RBAC, dashboards, and AI already wired into the open-core module, plus a library-first NestJS + Next.js monorepo to build the rest.
Complete Authentication
Login, signup, MFA (TOTP, email, recovery codes), WebAuthn, and multi-provider OAuth (Google, GitHub, Microsoft, Apple, LinkedIn) with a multi-app callback hub.
RBAC & Route Permissions
Roles and routes control access to every endpoint and admin screen, with fine-grained permission checks built in.
AI Chat & Agents
Chat and configurable AI agents backed by OpenAI or Gemini, ready to use from the core module.
HedHog CLI
Bootstrap new libraries, sync admin assets, and scaffold NestJS modules that follow the framework's conventions.
Configurable Dashboards
Per-user dashboards with draggable widget layouts, saved positions, and role-based sharing.
Library-First Architecture
Business logic lives in independent libraries under libraries/*, installed only when you need them.
Migration-First with Prisma
Every schema change ships as a versioned SQL migration, keeping production databases safe and reproducible.
pnpm + Turborepo Monorepo
A single repo for the NestJS API and Next.js admin, with cached, parallelized builds across every app and package.
Open core: the Core module is free, forever
HedHog follows an open-core model. The Core module is Open Source (MIT) and free to use forever. Every other module is part of the Enterprise offering and requires an active commercial license.
Core
The foundation of every HedHog project — free to use forever, no license required.
- Authentication
- Authorization & RBAC
- User management
- File handling
- AI
- Dashboards
- Settings
- Webhooks
- MCP integration
Enterprise modules
Licensed per module — you pay only for what you use, scoped to your organization.
- Campaign
- CMS
- LMS
- CRM
- Inbox
- Agent
- Address
- Category
- Commerce
- Finance
- Operations
- Queue
- Tag
Get started in 4 simple steps
Install the HedHog CLI and scaffold a NestJS API with a Next.js admin, ready to run with a single pnpm command.
Install the CLI
Install @hed-hog/cli globally with npm.
Scaffold
Run hedhog new to generate the NestJS API and Next.js admin.
Run
Install dependencies and start everything with pnpm dev.
Extend
Add feature libraries with the CLI as your project grows.
1# Install the HedHog CLI2npm i -g @hed-hog/cli3 4# Scaffold a new project (NestJS API + Next.js admin)5hedhog new my-project6cd my-project7 8# Install dependencies and start the dev environment9pnpm install10pnpm devBuild your own modules
Define a table in YAML and HedHog generates the migration, a typed CRUD API, and admin-ready route permissions — no boilerplate.
1# hedhog/table/product.yaml2columns:3 - type: pk4 - name: name5 - name: price6 type: decimal7 precision: 128 scale: 29 - type: created_at10 - type: updated_atDocumentation that developers love
Comprehensive guides, API references, and examples to help you build faster. Search, explore, and learn at your own pace.
Getting Started with Hedhog
Welcome to Hedhog! This guide will help you install the CLI and scaffold your first NestJS + Next.js project.
Prerequisites
- Node.js 18+ and npm 9+
- pnpm and Git
- Docker and Docker Compose (for the default database flow)
$ npm i -g @hed-hog/cli
$ hedhog new my-project
