TSStarter follows a modern full-stack architecture that prioritizes type safety, real-time capabilities, and exceptional developer experience.
Complete system architecture showing the flow from client to server, database, and external services
Our carefully curated tech stack ensures you're building with the best tools available:
Layer | Technology | Purpose |
---|---|---|
๐จ Frontend | React 19 + TanStack Router | Type-safe routing and state management |
โ๏ธ Backend | TanStack Start + TypeScript | Server Routes, Server Functions, SSR |
๐๏ธ Database | SQLite (dev) / Turso (prod) + Drizzle ORM | Type-safe database operations |
๐ RPC | oRPC | Type-safe RPC services, client calls |
๐ Auth | Better Auth | Modern authentication system |
โก Real-time | Server-Sent Events | Live updates and notifications |
๐ค AI | Anthropic Claude / OpenAI | AI features |
๐จ Styling | Tailwind CSS + shadcn/ui | Beautiful, accessible UI |
๐ง Email | Plunk | Transactional emails |
๐ณ Payments | Polar | Subscription management |
TSStarter comes packed with everything you need to build modern web applications:
tsstarter/
โโโ ๐ src/
โ โโโ ๐งฉ components/ # React components
โ โ โโโ ui/ # Reusable UI components (shadcn/ui)
โ โ โโโ app/ # All application components
โ โโโ ๐๏ธ db/ # Database layer
โ โ โโโ schema.ts # Drizzle schema definitions
โ โ โโโ migrate.ts # Database migrations
โ โโโ ๐ง lib/ # Shared utilities
โ โ โโโ auth/ # Authentication logic
โ โ โโโ hooks/ # Custom React hooks
โ โ โโโ orpc.ts # oRPC client configuration
โ โ โโโ utils.ts # Helper functions
โ โโโ ๐ฃ๏ธ routes/ # Application routes
โ โ โโโ _authed/ # Protected routes
โ โ โโโ api/ # API endpoints
โ โ โโโ __root.tsx # Root layout
โ โโโ ๐ฅ๏ธ server/ # Server-side code
โ โ โโโ routes/ # oRPC procedures
โ โ โโโ handler.ts # Request handler
โ โ โโโ orpc.ts # oRPC server setup
โ โโโ ๐จ styles.css # Global styles
โโโ ๐ content/ # MDX content
โ โโโ blog/ # Blog posts
โ โโโ docs/ # Documentation
โโโ ๐ drizzle/ # Database migrations
โโโ ๐ public/ # Static assets
โโโ ๐ Configuration files
Ready to dive in? Check out our comprehensive getting started guide to set up your first TSStarter project.
TSStarter is designed to help developers build production-ready applications faster, with better type safety, and exceptional developer experience.