init

AI SaaS Monorepo Boilerplate

boilerplateaiboilerplate-templatesaas-boilerplatenextjsreacttypescriptprismaclerk
FreeRepo

Preview

init preview

Overview

AI SaaS Monorepo Boilerplate. This repository provides a batteries-included starting point for building a multi-tenant, AI-enabled SaaS using a monorepo layout. It contains production-minded service boundaries, shared packages for prompts and retrieval-augmented generation (RAG), infrastructure manifests and guardrails that make it easy to plug in foundation models while staying compliant, observable and cost-aware.

Features

multi-tenantai-integrationrag-pipelineprompt-managementembeddingsllm-clientsguardrailscost-trackingcontinuous-evaluationsemantic-cachingmobile-supportbatch-jobsinference-service

Feature Flags

authenticationecommerceauthorizationteamsOrgsloggingErrorTrackingjobsQueueaicachingrateLimitingformsValidationschedulingCronsmultitenancy

Recommended Use Cases

ai-saas-applicationsmulti-tenant-platformsllm-powered-productsrag-applications

Frontend

nextjsreactreact-nativeexpo

Backend

nestjsfastapipython

Auth Providers

clerkauth0

Deployment Targets

dockerkubernetescloud-generic

Payment Providers

None

Quick Facts

โญ Stars
0
๐Ÿด Forks
0
๐Ÿ”„ Active
Unknown
GitHub

Stack

Framework
nextjs
Language
typescript
Database
postgresql
Auth
clerk
ORM
prisma
Testing
jest
Monitoring
opentelemetry
Logging
otlp
CI
github-actions

Data Layer

Databases
redis, postgresql
ORM
prisma

UI Stack

Developer Experience

Docker
Yes
Tests
Yes
Quickstart
Yes
env.example
No
CI
github-actions

Pricing

Classification
free
Selected
โ€”
Notes
Open source boilerplate template
Get Started with this Boilerplate