TanStack + React Starter

A barebones TypeScript React starter with TanStack Router & Query setup

Deploy TanStack + React Starter

tanstack-react-vite-template

gillkyle/tanstack-react-vite-template

Just deployed

TanStack React + Vite Template

This is a lightweight React starter template using Vite, TypeScript with React, and 2 core packages from the TanStack:

  1. TanStack Query
  2. TanStack Router

It is deployed with the memory efficient Caddy web server, and can be set up on Railway in a single click.

Deploy on Railway

🚀 Getting Started

  1. install dependencies with bun install
  2. start local development with bun run dev

❓ Why Caddy for serving the app?

See: https://github.com/brody192/vite-react-template#-why-use-caddy-when-deploying-to-railway

Caddy is a powerful, enterprise-ready, open source web server, and therefore Caddy is far better suited to serve websites than Vite is, using Caddy will result in much less memory and cpu usage compared to serving with Vite (much lower running costs too).


Template Content

tanstack-react-vite-template

gillkyle/tanstack-react-vite-template

More templates in this category

View Template

mellow-vue

A full-stack Vue app with The Boring JavaScript Stack.


View Template

Sveltekit NestJS

Full-stack with SvelteKit + NestJS + Prisma + Postgresql with utils


View Template

.NET8 Web API

A basic ASP.NET Core Web API template (.NET 8)