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

14 total projects

9 active projects

80% success on recent deploys

TypeScript, JavaScript, CSS, HTML

Starters



More templates in this category

View Template
Laravel

Laravel

An example Laravel application


Alexandru Vlad

View Template
Flask

Flask

A minimal Flask web application.


alphasec

View Template
Botway Code Editor

Botway Code Editor

VS Code in the browser, with full packages


Abdfn