Eden Stack: Full-stack SaaS starter with TanStack Start, Elysia, and Neon, deployed on Vercel

Hey everyone,

I wanted to share Eden Stack, a full-stack starter kit I built for shipping SaaS products quickly with a modern TypeScript stack, deployed on Vercel.

What it is

Eden Stack is a production-ready starter kit that gives you a complete SaaS foundation: auth, payments, background jobs, transactional email, analytics, error tracking, and a type-safe API layer. You own the full source code and can shape it to your needs.

Tech stack highlights

  • TanStack Start as the web framework with file-based routing
  • Elysia embedded as the API server inside TanStack Start (single deployment, no separate backend)
  • Eden Treaty for end-to-end type-safe API calls
  • Neon PostgreSQL with Drizzle ORM
  • Better Auth with GitHub OAuth and SSR session handling
  • Stripe for one-time and subscription payments
  • Inngest for durable background jobs (webhook processing, email sequences)
  • Resend + React Email for transactional emails
  • PostHog for product analytics
  • Sentry for error tracking and observability
  • Deployed on Vercel with Nitro as the server preset

What makes it interesting

The architecture is a single TanStack Start app that embeds an Elysia API server via a catch-all route. This means one Vercel deployment handles both the frontend and the API, with full type safety from the database schema through the API layer to the React components. No separate backend service to manage.

The codebase is structured with consistent patterns throughout, so AI coding assistants (Cursor, Claude Code, Copilot) produce code that actually fits the existing architecture instead of fighting it.

Links

Happy to answer any questions about the architecture or the Vercel deployment setup.

2 Likes