AI Fullstack SaaS Boilerplate AI Agent

by alan345• 1.4k•• Scanned•Claim this listing•Request removal
Database Managementagentic aiaibetter authchatdrizzle orm

Fullstack SaaS Boilerplate built with tRPC, Fastify and React

AI Fullstack SaaS Boilerplate is an open-source ai agent by alan345, written mainly in TypeScript, with 1,436 GitHub stars and the MIT license. Its code was last updated Nov 1, 2026.

<div align="center"> <img src="https://github.com/user-attachments/assets/f9729f43-485a-44d4-b85d-f93dc5c09988" alt="image" height="180"/> </div> <h1 align="center"><strong>Fullstack SaaS Boilerplate with AI</strong></h1> <h3 align="center">Built with <a href="https://fastify.io">Fastify</a>, <a href="https://trpc.io">tRPC</a>, and <a href="https://reactjs.org">React</a>.</h3>

Project

GitHub stars GitHub forks GitHub license GitHub issues GitHub issues

Demo

<a href="https://fsb-client.onrender.com"> <img width="200" alt="Demo Fullstack-SaaS-Boilerplate" src="https://github.com/user-attachments/assets/e7341328-dd7b-463a-b822-a491ef81369c"> </a>

<sub>Hosted by render.com for free</sub>

<sub>As it is a free tier, this Demo will spin down with inactivity, which can delay requests by 50 seconds or more. Be patient!</sub>

Preview

fsb-chat.webm

Main Stack

TechnologyDescriptionStars
<a href="https://orm.drizzle.team/">Drizzle</a>A TypeScript-first ORM for Node.js<a href="https://github.com/drizzle-team/drizzle-orm"><img src="https://img.shields.io/github/stars/drizzle-team/drizzle-orm?style=flat-square" alt="GitHub Repo stars" /></a>
<a href="https://fastify.io">Fastify</a>Fast, unopinionated, minimalist web framework for Node.js<a href="https://github.com/fastify/fastify"><img src="https://img.shields.io/github/stars/fastify/fastify?style=flat-square" alt="GitHub Repo stars" /></a>
<a href="https://www.postgresql.org">Postgres</a>The world's most advanced open source database<a href="https://github.com/postgres/postgres"><img src="https://img.shields.io/github/stars/postgres/postgres?style=flat-square" alt="GitHub Repo stars" /></a>
<a href="https://reactjs.org">React 19</a>A JavaScript library for building user interfaces<a href="https://github.com/facebook/react"><img src="https://img.shields.io/github/stars/facebook/react?style=flat-square" alt="GitHub Repo stars" /></a>
<a href="https://tailwindcss.com">Tailwind v4</a>A utility-first CSS framework for rapid UI development<a href="https://github.com/tailwindlabs/tailwindcss"><img src="https://img.shields.io/github/stars/tailwindlabs/tailwindcss?style=flat-square" alt="GitHub Repo stars" /></a>
<a href="https://trpc.io">tRPC</a>End-to-end typesafe APIs made easy<a href="https://github.com/trpc/trpc"><img src="https://img.shields.io/github/stars/trpc/trpc?style=flat-square" alt="GitHub Repo stars" /></a>

Other dependencies

TechnologyDescriptionStars
<a href="https://better-auth.com">Better Auth</a>Authentication library for Node.js<a href="https://github.com/better-auth/better-auth"><img src="https://img.shields.io/github/stars/better-auth/better-auth?style=flat-square" alt="GitHub Repo stars" /></a>
<a href="https://platform.openai.com">OpenAI</a>API for GPT models, embeddings, and more<a href="https://github.com/openai/openai-node"><img src="https://img.shields.io/github/stars/openai/openai-node?style=flat-square" alt="GitHub Repo stars" /></a>
<a href="https://phosphoricons.com">Phosphor Icons</a>Beautifully simple & consistent icons<a href="https://github.com/phosphor-icons/homepage"><img src="https://img.shields.io/github/stars/phosphor-icons/homepage?style=flat-square" alt="GitHub Repo stars" /></a>
<a href="https://pnpm.io/workspaces">pnpm Workspaces</a>Fast, disk space efficient package manager for monorepos<a href="https://github.com/pnpm/pnpm"><img src="https://img.shields.io/github/stars/pnpm/pnpm?style=flat-square" alt="GitHub Repo stars" /></a>
<a href="https://playwright.dev">Playwright</a>Test your web apps headlessly with a single API<a href="https://github.com/microsoft/playwright"><img src="https://img.shields.io/github/stars/microsoft/playwright?style=flat-square" alt="GitHub Repo stars" /></a>
<a href="https://reactrouter.com">React Router v7</a>Declarative routing for React<a href="https://github.com/remix-run/react-router"><img src="https://img.shields.io/github/stars/remix-run/react-router?style=flat-square" alt="GitHub Repo stars" /></a>
<a href="https://www.typescriptlang.org">TypeScript</a>TypeScript is a typed superset of JavaScript<a href="https://github.com/microsoft/TypeScript"><img src="https://img.shields.io/github/stars/microsoft/TypeScript?style=flat-square" alt="GitHub Repo stars" /></a>
<a href="https://vitejs.dev">Vite</a>Next generation frontend tooling. It's fast!<a href="https://github.com/vitejs/vite"><img src="https://img.shields.io/github/stars/vitejs/vite?style=flat-square" alt="GitHub Repo stars" /></a>
<a href="https://zod.dev">Zod</a>TypeScript-first schema validation with static type inference<a href="https://github.com/colinhacks/zod"><img src="https://img.shields.io/github/stars/colinhacks/zod?style=flat-square" alt="GitHub Repo stars" /></a>

Star History

Star History Chart

Features

Installation

  • Install pnpm if you haven't already: npm install -g pnpm
  • Rename the example.env files to .env with your own credentials: server, client
  • Make sure Postgres is running and create a new database called fsb
psql -U user // replace user by your postgres user
CREATE DATABASE fsb;
  • Run in the terminal in the root directory:
# Install the dependencies
pnpm install

# Setup the database
pnpm run push

# Seed the database
pnpm run seed

# Run the app (it will run the client and the server automatically)
pnpm run dev

Building for production

pnpm run build
pnpm run start

Printscreens

Impersonate User

Login - Signup

<img width="1556" alt="image" src="https://github.com/user-attachments/assets/1b3db78d-4b34-4401-b8e3-89dc85e990a9" /> <img width="1556" alt="image" src="https://github.com/user-attachments/assets/5eedf90f-18a8-4687-b8fb-bd4cc5d0dbeb" /> <img width="1556" alt="image" src="https://github.com/user-attachments/assets/eed287fe-7be7-4594-b97a-2ef51718c446" /> <img width="1556" alt="image" src="https://github.com/user-attachments/assets/7a221b78-223b-44e7-8d26-3a1f04c56afd" /> <img width="1556" alt="image" src="https://github.com/user-attachments/assets/fec440d5-ec7a-4cb0-be38-3ee60c193e6a" /> <img width="1556" alt="image" src="https://github.com/user-attachments/assets/d19d0f3f-364b-4a12-a8ca-540c430a09c9" /> <img width="1556" alt="image" src="https://github.com/user-attachments/assets/3c4757ff-9746-459d-bbf0-e3326c4b1ce4" />

Motivation

Focusing on developer experience: simple, efficient, and fast. This modern stack uses top-tier libraries to build a full-stack web application. Unlike the T3 app (https://create.t3.gg), we opted not to use Next.js, allowing the frontend to remain as static files, easily stored in cloud object storage like AWS S3. Consequently, this stack is designed for building web apps rather than traditional websites, as it is not SEO-friendly.

End-to-end typesafe with tRPC

trpc-video-ter Video from https://trpc.io

E2E Testing

The tests should be executed while the application is running.

Running the tests in the Terminal

pnpm run test

Who is using FSB?

  • Nachonacho.com - The world's largest marketplace for Software & Services

Create a PR if you want to add your project here.

How can you help?

This project is free and open source. If you found it useful, consider giving it a star ⭐ or sponsoring me 💖 — it really helps! I'm always open to feedback, so feel free to share suggestions to improve the stack. You’re also welcome to contribute by opening a pull request 🚀.

GitHub issues

<div align="center"> <img src="https://github.com/user-attachments/assets/60297acc-81a1-46af-93ec-d281be20757b" alt="image" height="260"/> </div>

AI Fullstack SaaS Boilerplate alternatives

View more →

Similar ai agents in Database Management, ranked by GitHub stars. Compare licence, recent activity and scan status before you choose.

NameStarsLicenceLast updatedScan
AI Fullstack SaaS Boilerplate (this page)
alan345
1.4kMITNov 1, 2026Scanned, no flagged issues
Graphify
Graphify-Labs
140kApache-2.0Nov 1, 2026Scanned, no flagged issues
Claude Mem
thedotmack
108kApache-2.0Nov 1, 2026Scanned, no flagged issues
Mem0
mem0ai
68kApache-2.0Oct 30, 2026Scanned, no flagged issues
Hindsight
vectorize-io
57kMITNov 1, 2026Scanned, no flagged issues
Dokploy
Dokploy
38kNone foundOct 31, 2026Not scanned yet