This template is designed for developers who want to kickstart a modern React.js project with a fully optimized setup. It includes everything needed for scalable application development — from FSD architecture, routing, state management, and localization to a lightning-fast build powered by Vite and SWC.
- 🧭 TanStack Router — modern, type-safe routing solution;
- ⚡ TanStack Query — powerful data fetching and caching layer;
- 🧠 Zustand — a small, fast and scalable bearbones state-management solution using simplified flux principles;
- 🌍 i18next — full support for internationalization and locale handling;
- 📦 Build Analyzer — integrated bundle size visualization with vite-bundle-analyzer;
- 🗜️ File Compression — Brotli and Gzip compression support for static assets;
- 🖼️ Image Optimization — automatic WebP conversion and image optimization via vite-imagetools and vite-plugin-image-optimizer;
- ⚙️ SWC Compiler — blazing-fast transpilation for TypeScript and JavaScript via @vitejs/plugin-react-swc;
- 🎨 LightningCSS — ultra-fast CSS minification and processing;
- 💅 SASS — powerful CSS preprocessor for styling;
- 🔧 Terser — advanced JavaScript minification with configurable optimization levels;
- 🔍 ESLint + Prettier + Commitlint — strict code style enforcement out of the box;
- 🧪 Jest — preconfigured unit testing environment with Testing Library;
- 🐳 Docker + NGINX — robust deployment setup with containerization.
├── .husky/ # Git hooks for commit quality
├── src/
│ ├── app/ # App initialization logic
│ ├── entities/ # Domain entities and models
│ ├── features/ # Feature-specific logic
│ ├── pages/ # Application pages
│ └── shared/ # Shared components and utilities
├── vite/ # Vite-specific configuration
- Node.js: Ensure you have Node.js >=24.12 installed.
- Package Manager: pnpm (recommended) or npm
git clone <repository-url>
cd <project-directory>
pnpm install
# or
npm installpnpm run dev
# or
npm run dev# Standard build with type checking
pnpm run build
# Build with file compression (gzip + brotli)
pnpm run build:compress
# Build with bundle analyzer
pnpm run build:analyzer
# Build with compression and analyzer
pnpm run build:compress-analyzerpnpm run test# Lint code
pnpm run lint
# Fix linting issues
pnpm run lint:fix
# Format code
pnpm run format
# Check TypeScript types
pnpm run typecheckpnpm run serve- ✅ 100% TypeScript-first approach with strict type checking
- 🧩 Modular architecture following Feature-Sliced Design (FSD) principles
⚠️ Strict compliance with ESLint and Steiger (FSD) configuration standards- 🎯 Arrow functions preferred for JavaScript/TypeScript code
- 🧹 SOLID and KISS principles adherence
- 🚫 No unused code or comments in production code
If you have any questions, feel free to reach out:
- Email: d_maksimyk@vk.com
- Telegram: https://t.me/d_maximyuk
- GitHub: https://github.com/dmaximyuk
This template is publicly available for any use.
Feel free to use, modify, and share it!
