Skip to content

Repository files navigation

React Scaffold

Opinionated React + Vite + TypeScript scaffold for building SPAs with cookie-based authentication, feature-driven architecture, and a polished UI kit.

Stack

  • React 18 + Vite 5 + TypeScript 5
  • Tailwind CSS v3 + shadcn/ui (Radix primitives)
  • TanStack React Query v5 (server state)
  • Axios (cookie-based, withCredentials: true)
  • React Router v6
  • react-hook-form + zod
  • i18next + react-i18next (es / en)
  • sonner (toasts) + lucide-react (icons)
  • date-fns + react-day-picker
  • Husky + lint-staged + ESLint + Vitest

Getting Started

npm install
cp .env.example .env
npm run dev

Scripts

npm run dev         # Vite dev server (port 8080)
npm run build       # Production build
npm run lint        # ESLint
npm run typecheck   # tsc --noEmit
npm run test        # Vitest

Project Layout

See CLAUDE.md for the full architecture guide.

About

React + Vite + TypeScript scaffold with Radix, TanStack Query, axios, i18n, react-hook-form + zod, sonner, lucide-react, Tailwind, Husky

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages