Skip to content

wacht-platform/starter-tanstack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wacht Starter · TanStack Router

A minimal TanStack Router app (Vite + React 19) with Wacht authentication wired in.

What's wired

  • src/main.tsxDeploymentProvider wrapping RouterProvider
  • src/routes/account.tsx — protected route using authenticateRequest() in beforeLoad
  • .env.example — Wacht keys

Quick start

pnpm install
wacht env pull                     # writes .env with a fresh deployment key
pnpm dev

Without the Wacht CLI: cp .env.example .env and paste the publishable + API keys from https://console.wacht.dev.

Then open http://localhost:3000 and follow the hosted Wacht sign-in flow.

Use with Wacht Bench

This starter is what wacht init --starter tanstack clones. After it lands, run:

wacht init

inside the new project to add .wacht/, AGENTS.md, and the bootstrap guide for editor agents.

Docs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors