React Tanstarter

screenshot of React Tanstarter
react
tanstack
tailwind
shadcn-ui
drizzle-orm

minimal TanStack Start template with Better Auth, Drizzle ORM, shadcn/ui

Overview

TanStarter is an innovative and minimalist starter template designed for developers looking to build projects using TanStack, React, and Tailwind CSS. This robust template is structured around the latest technologies, making it an excellent choice for those who want to leverage React 19 along with powerful tools such as Drizzle ORM and PostgreSQL. Its streamlined integration with authentication services offers flexibility while providing a solid foundation for web applications.

Notably, TanStarter includes features that allow for rapid development and customization, making it suitable for both beginner programmers and seasoned developers. With its emphasis on best practices and modern tech stacks, it is a great asset for anyone looking to create seamless, responsive, and visually appealing applications.

Features

  • Tailwind CSS v4 Integration: Offers a utility-first CSS framework that allows for rapid design and customization of web pages, leading to beautiful and responsive UI.
  • Better Auth Options: Pre-configured authentication with OAuth support for popular platforms like GitHub, Google, and Discord, while easily customizable for other providers.
  • Drizzle ORM with PostgreSQL: Provides a powerful ORM tool that simplifies database interaction, along with customizable migration features.
  • Development Server Setup: Quick and easy setup process; start working on your project immediately with the local server running on http://localhost:3000.
  • Scripts for Easy Management: Includes pre-built scripts in package.json for tasks like database schema generation, UI additions, and code formatting with Prettier and ESLint.
  • Authentication Middleware: Sample code provided for implementing server-side authentication, ensuring that your application is secure from the ground up.
  • Light/Dark Mode Toggle: A simple component included in the template to easily switch between light and dark themes, enhancing user experience.
  • Customizable UI Components: Use of shadcn/ui allows for easy integration of various UI components, customizable to fit your project needs.
react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

tanstack
TanStack

TanStack is a collection of high-quality, framework-agnostic libraries including TanStack Query for data fetching, TanStack Router for routing, TanStack Table for tables, and more. These tools provide powerful, type-safe solutions for common web development challenges.

tailwind
Tailwind

Tailwind CSS is a utility-first CSS framework that provides pre-defined classes for building responsive and customizable user interfaces.

shadcn-ui
Shadcn UI

Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.

drizzle-orm
Drizzle ORM

Drizzle ORM is a TypeScript ORM for SQL databases designed with maximum type safety in mind. It comes with a drizzle-kit CLI companion for automatic SQL migrations generation. Drizzle ORM is meant to be a library, not a framework. It stays as an opt-in solution all the time at any levels.

fullstack
Fullstack

A fullstack boilerplate provides a starter application that includes both frontend and backend. It should include database, auth, payments, user roles and other backend services to build a fully featured saas or webapps.

template
Templates & Themes

A template or theme refers to a pre-designed layout or structure that provides a basic framework for building a specific type of application or website. It typically includes good design, placeholder content and functional features, allowing developers to customize and fill in the details according to their specific needs.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.