A TanStack Start example demonstrating authentication patterns and protected routes.
To start a new project based on this example, run:
npx gitpick TanStack/router/tree/main/examples/react/start-basic-auth start-basic-authFrom your terminal:
pnpm install
pnpm devThis starts your app in development mode, rebuilding assets on file changes.
To build the app for production:
pnpm buildThis example demonstrates:
- User authentication flow
- Protected routes
- Login/logout functionality
- Redirect after authentication