image

Fullstack SaaS Boilerplate

Built with Fastify, tRPC, and React.

Project

GitHub issues GitHub forks GitHub stars GitHub license

Demo

Demo Fullstack-SaaS-Boilerplate

Hosted by render.com for free

Preview

demo

Main Stack

Other dependencies

Features

Installation

psql -U user // replace user by your postgres user
CREATE DATABASE fsb;
// Install the dependencies
npm i

// Setup the database
npm run push

// Seed the database
npm run seed

// Run the app (it will run the client and the server automatically)
npm run dev

Building for production

npm run build
npm run start

Printscreens

Screenshot 2025-01-29 at 9 23 13 AM Screenshot 2025-01-29 at 9 23 22 AM Screenshot 2025-01-29 at 9 23 27 AM Screenshot 2025-01-29 at 9 23 32 AM Screenshot 2025-01-29 at 9 23 37 AM Screenshot 2025-01-29 at 9 23 40 AM Screenshot 2025-01-29 at 9 23 46 AM

Health Check for the server (http://localhost:2022/health)

Health Check

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 must be run while the app is running.

Running the tests in the Terminal

npm run test:e2e

Other recommendations

Who is using TER?

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

Miscellaneous

Discover the details of this project in

image