{"repo":"viniarruda/react-boilerplate","free":true,"listed":false,"github":"https://github.com/viniarruda/react-boilerplate","clone":"git clone https://github.com/viniarruda/react-boilerplate.git","description":"A modern, opinionated React starter — typed, tested, and wired end-to-end.","language":"TypeScript","stars":27,"topics":["react","react-hooks","react-context-hooks","react-global-state","react-boilerplate","react-template","context-hooks","boilerplate","hacktoberfest","tanstack"],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"react-boilerplate A modern, opinionated React starter — typed, tested, and wired end-to-end. Vite · React 19 · TanStack Router & Query · Tailwind v4 · shadcn/ui · React Hook Form + Zod · Vitest Features - ⚡️ Vite dev server & build with TypeScript (strict). - 🧭 TanStack Router — file-based routing with type-safe params and a private-route guard ( authenticated layout + beforeLoad ). - 🔄 TanStack Query + Axios — a shared client with a request interceptor (in React context) that injects the bearer accessToken on every request. - 🔐 Mocked auth held in React context and persisted to localStorage . - 🎨 Tailwind CSS v4 (CSS-first config) + shadcn/ui primitives, dark by default, themed with CSS-variable design tokens. - 📝 React Hook Form + Zod for typed, validated forms. - ✅ Vitest + Testing Library wired up with example component and hook tests. Getting started Any non-empty username/password logs you in (auth is mocked) and lands you on the home page, which showcases the stack and a live TanStack Query data demo. Scripts Script Description ---------------------- ------------------------------------------------- pnpm dev Start the Vite dev server. pnpm build Generate routes, type-check, and build for prod. pnpm preview Preview the production build. pnpm test Run the Vitest suite once. pnpm test:watch Run Vitest in watch mode. pnpm test:ui Open the Vitest UI. pnpm lint Lint with ESLint (flat config). pnpm format Format src with Prettier. pnpm routes:generate Regenerate src/rout","default_branch":null,"files":null,"tree":[],"storefront":"/r/viniarruda","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/viniarruda/react-boilerplate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}