All Templates / Starters

TanStack + React Starter

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
Deploy Now

Details

Kyle Gill

Created on Nov 23, 2023

20 total projects

14 active projects

TypeScript, JavaScript, CSS, HTML

Starters



More templates in this category

View Template

New

Django Monolith

Django Monolith

A Django app connected to a Postgres database with Celery and Celery Beat.


Prosper Otemuyiwa

View Template
Scala Play

Scala Play

A simple Play framework app connected to a Postgres database.


Prosper Otemuyiwa

View Template
Deno 2 Web server

Deno 2 Web server

A minimal Deno 2 web server starter template


Rares A.