A production-ready React application with modern tooling and best practices following a comprehensive feature-based architecture.
- React 18 + TypeScript
- Vite - Fast build tool
- React Router DOM - Client-side routing
- Redux Toolkit - State management
- TanStack Query - Server state management
- React Hook Form + Zod - Form handling and validation
- shadcn/ui - Beautiful, accessible components
- Framer Motion - Smooth animations
- Tailwind CSS - Utility-first styling
- Axios - HTTP client
- Vitest - Testing framework
src/
βββ app/ # App-level configuration
β βββ store/ # Redux store setup
β βββ providers/ # React providers
β βββ router/ # Routing configuration
β βββ config/ # App constants and configuration
βββ shared/ # Shared across modules
β βββ components/ # Reusable UI components
β βββ hooks/ # Custom React hooks
β βββ services/ # API and external services
β βββ utils/ # Utility functions
β βββ types/ # TypeScript type definitions
βββ features/ # Feature modules
β βββ auth/ # Authentication feature
β βββ dashboard/ # Dashboard feature
β βββ users/ # User management feature
βββ assets/ # Static assets
βββ styles/ # Global styles and themes
βββ lib/ # External library configurations
βββ test/ # Testing utilities and setup
βββ docs/ # Documentation
# Install dependencies
npm install
# Copy environment variables
cp .env.example .env
# Start development server
npm run devnpm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production buildnpm run lint- Run ESLintnpm run test- Run testsnpm run test:ui- Run tests with UInpm run test:coverage- Run tests with coveragenpm run type-check- Run TypeScript type checking
- β Feature-based architecture for scalability
- β Type-safe routing with React Router
- β Redux Toolkit for predictable state management
- β TanStack Query for server state and caching
- β Form validation with React Hook Form + Zod
- β Beautiful, accessible UI components with shadcn/ui
- β Smooth animations with Framer Motion
- β Dark/Light theme support
- β Comprehensive testing setup with Vitest
- β TypeScript path aliases for clean imports
- β Production-ready build configuration