Skip to content

omnidotdev/template-tanstack-start

🌴 TanStack Start Template

This is a template repository for a frontend web application powered by TanStack Start.

Features

  • πŸš€ Modern React Stack: Built with TanStack Start and TypeScript for optimal developer experience and performance
  • πŸ” Authentication & Authorization:
    • Better Auth integration with OAuth2/OpenID Connect support
    • JWT-based authentication with remote JWKS validation
    • Protected routes with automatic redirects
    • Server-side authentication middleware
  • πŸ’³ Payments & Subscriptions:
    • Stripe integration for payment processing
    • Subscription management with billing portal
    • Pricing pages with tier comparison
    • Customer portal for subscription updates and cancellations
  • 🎨 UI/UX:
    • Modern component library with Ark UI and shadcn/ui patterns
    • Tailwind CSS with optimized class sorting
    • Dark/light theme support with persistent preferences
    • Responsive design with mobile-first approach
    • Toast notifications with Sonner
  • πŸ“Š Data Management:
  • πŸ› οΈ Developer Experience:
    • Hot module replacement during development
    • Code quality with Biome for linting and formatting
    • Git hooks with Husky
    • TypeScript strict mode with comprehensive type safety
    • Knip for unused dependency detection
  • πŸ“ˆ GraphQL Integration:
    • GraphQL Code Generator for type-safe queries
    • React Query hooks generation
    • TypeScript SDK generation
    • MSW mocks for testing
  • πŸ”§ Production Ready:
    • Server-side rendering (SSR) support
    • Environment-specific configurations
    • TLS/HTTPS support with certificate generation
    • Optimized build process with Vite
    • Route-based code splitting

Local Development

First, cp .env.local.template .env.local and fill in the values.

Building and Running

bun install
bun dev

License

The code in this repository is licensed under MIT, Β© Omni LLC. See LICENSE.md for more information.

About

🌴 TanStack Start template

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

No packages published

Contributors 2

  •  
  •