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;
- 🌍 Intl API — full support for internationalization and locale handling;
- 📦 Build Analyzer — integrated bundle size visualization;
- 🧩 CSS Injection & Compression — CSS inlined into HTML (IF NEEDED) with Brotli/gzip compression support;
- ⚙️ SWC Compiler — blazing-fast transpilation for TypeScript and JavaScript;
- 🔍 ESLint + Prettier + Commitlint — strict code style enforcement out of the box;
- 🧪 Jest — preconfigured unit testing environment;
- 🐳 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 >=22.17 installed.
git clone <repository-url>
cd <project-directory>
npm installnpm run devnpm run build # <- default
npm run build:insertcss # <- embed CSS in the head index.html
npm run build:insertcss-compress # <- embed CSS in the head index.html and perform files compression
npm run build:compress # <- perform files compression
npm run build:analyzer # <- build and perform an analysisnpm run test- ✅ 100% TypeScript-first approach.
- 🧩 Modular architecture with Feature-Sliced Design in mind.
⚠️ It is strictly checked for compliance with ESLint and steiger (FSD) configuration standards
If you have any questions, feel free to reach out:
- Email: [email protected]
- 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!
