Tan AI

screenshot of Tan AI
react
tanstack
tailwind
drizzle-orm

Build your own generative UI chatbot using the Vercel AI SDK and Google Gemini - TanStack Start

Overview

Tanstack Start is an innovative full-stack React framework that stands out for its versatility and robustness. It integrates modern web technologies such as SSR (Server-Side Rendering), streaming, server functions, and API routes, all while ensuring a seamless deployment experience to popular hosting providers like Netlify, Vercel, and many others. Designed for developers looking to build dynamic applications, it promises to simplify the development process through its extensive features and functionalities.

What sets Tanstack Start apart is its comprehensive support for AI capabilities through its AI SDK. This unified API allows for easy integration of advanced machine learning models, creating exciting possibilities for text generation and dynamic user interfaces. With a strong focus on developer experience, the framework also emphasizes strong authentication, ensuring users can implement robust security measures with ease.

Features

  • Full-Stack Functionality: Combines SSR, streaming, server functions, and API routes, integrating seamlessly with TanStack Router, Nitro, and Vite for efficient performance.
  • AI SDK: Offers a unified API for generating text and structured objects, supporting multiple model providers such as Google, OpenAI, and Anthropic.
  • Flexible Styling Options: Utilizes Tailwind CSS alongside shadcn/ui components, ensuring accessibility and customizable designs for various applications.
  • Data Persistence: Supports PostgreSQL, allowing developers to leverage database capabilities from any service provider or local setup.
  • Advanced Authentication: Provides a comprehensive authentication framework with features like 2FA, multi-tenancy, and SSO, so developers can focus on building rather than managing security.
  • Model Provider Flexibility: Ships with a default model while allowing easy switching to other LLM providers with minimal code adjustments.
  • Easy Deployment: Facilitates rapid deployment to Vercel with a single click, alongside clear instructions for local development setups.
  • Local Development Support: Includes straightforward setup steps for running local instances, ensuring a smooth development process.
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.

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.

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.

motion
Motion

Motion (formerly Framer Motion) is a production-ready animation library for React and JavaScript. It provides a simple declarative API for creating fluid animations, gestures, and transitions with excellent performance and accessibility.

react-hook-form
React Hook Form

React Hook Form is a performant, flexible, and extensible form library for React with easy validation. It reduces re-renders and improves performance by using uncontrolled components and native HTML validation, making form handling simple and efficient.

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.

zod
Zod

Zod is a TypeScript-first schema declaration and validation library. It allows you to define schemas that can validate data at runtime while providing excellent TypeScript inference, making it perfect for API validation, form validation, and type-safe data handling.