d-ivashchuk / cascade

Best open-source SaaS boilerplate. Free, powerful & extendable.
https://cascade.stackonfire.com
509 stars 45 forks source link
lemonsq loops lostpixel nextjs postgresql posthog prisma saas-boilerplate storybook triggerdev trpc

Open source SaaS template

Visit Cascade 📦 ||| Try out the demo here 🎮 ||| Explore the documentation 📄

# Concept The idea of the Cascade template is that it offers as little bloat as possible regarding technology choices and gets you started with writing business logic from day one. The only friction before fully working boilerplate on your `localhost:3000` is the `.env` file with correct environmental variables. [Visit Cascade 📦](https://cascade.stackonfire.com) [Try out the demo here 🎮](https://cascade.stackonfire.com/app/login) [Explore the documentation 📄](https://stackonfire.mintlify.app/introduction) # Tools Most of the tools selected for Cascade are open-source(OSS). Some of them are self-hosted(SH). All tools that are SaaS have generous free plans and should get you started without any additional costs. Core: - [T3 stack](https://create.t3.gg/)(OSS) - [Next.js](https://nextjs.org/), [tRPC](https://trpc.io/), [Prisma](https://www.prisma.io/) - [Postgres](https://www.postgresql.org/)(OSS) - modern & reliable database - [Auth.js](https://authjs.dev/)(OSS) - plug & play authentication with sessions managed in [Prisma](https://www.prisma.io/) Business: - [Lemon Squeezy](https://www.lemonsqueezy.com/) - modern and simple merchant of record - [PostHog](https://posthog.com/)(SH) - advanced user analytics & funnels - [Plausible](https://plausible.io/)(SH) - simple but powerful page analytics Support: - [Sentry](https://sentry.io/)(SH) - error & bug tracking for faster fixes - [Trigger.dev](https://trigger.dev/)(SH) - background job processing(send slack notifications on new user sign-up) - [Storybook](https://storybook.js.org/)(OSS) - manage your components & develop them in isolation - [Lost Pixel](https://www.lost-pixel.com/)(OSS) - simple frontend tests - [Crisp](https://crisp.chat/en/) - dead simple but powerful support chat # Honorable mentions - Without [Shadcn](https://twitter.com/shadcn) this boilerplate would not happen. Period. I rely on his UI a lot and took a lot of inspiration & code from his open-source projects - https://github.com/lmsqueezy/nextjs-billing & [Branko's](https://twitter.com/brankoconjic) work on it; I took a bunch of ideas for LS integration there - https://github.com/sadmann7/shadcn-table & [Sadman](https://twitter.com/sadmann17) for showcasing brilliant integration of Tanstack table with Shadcn/ui, I repurposed the code for Prisma - [Pontus](https://twitter.com/pontusab) and his impeccable tech stack in [Midday.ai](https://midday.ai/) inspired me to create the boilerplate at the first place