MCPcopy Index your code
hub / github.com/d-ivashchuk/cascade

github.com/d-ivashchuk/cascade @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
141 symbols 593 edges 127 files 1 documented · 1%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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

Extension points exported contracts — how you extend this code

Window (Interface)
(no doc)
shims.d.ts
DataTableSearchableColumn (Interface)
(no doc)
src/types/data-table/index.ts
ToggleButtonProps (Interface)
(no doc)
src/components/patterns/toggle-button.tsx
CheckboxProps (Interface)
(no doc)
src/app/(landing)/ls-logo.tsx
Session (Interface)
(no doc)
src/server/auth.ts
UseDataTableProps (Interface)
(no doc)
src/hooks/use-data-table.ts
DataTableFilterableColumn (Interface)
(no doc)
src/types/data-table/index.ts
DateRangePickerProps (Interface)
(no doc)
src/components/patterns/date-range-picker.tsx

Core symbols most depended-on inside this repo

cn
called by 110
src/lib/utils.ts
setupLemonSqueezy
called by 7
src/server/api/routers/payment-management.ts
useFormField
called by 4
src/components/ui/form.tsx
useGuardedSpendCredits
called by 4
src/hooks/use-guard-usage.tsx
formatDate
called by 3
src/lib/utils.ts
formatBytes
called by 3
src/lib/utils.ts
isObject
called by 3
src/app/api/lemon-squeezy/webhook/utils.ts
isFileWithPreview
called by 2
src/components/patterns/file-upload/file-uploader.tsx

Shape

Function 114
Interface 27

Languages

TypeScript100%

Modules by API surface

src/lib/utils.ts6 symbols
src/components/patterns/file-upload/file-uploader.tsx6 symbols
src/app/(blog)/blog/[...slug]/page.tsx5 symbols
src/trpc/react.tsx4 symbols
src/server/auth.ts4 symbols
src/types/lemonsqueezy/index.ts3 symbols
src/types/data-table/index.ts3 symbols
src/server/api/routers/payment-management.ts3 symbols
src/hooks/use-upload-file.ts3 symbols
src/components/ui/sheet.tsx3 symbols
src/components/patterns/data-table/data-table-provider.tsx3 symbols
contentlayer.config.ts3 symbols

For agents

$ claude mcp add cascade \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact