A scalable, high-performance React starter template powered by Vite, TypeScript, and a clean feature-based architecture. Designed for rapid development with maintainability and best practices in mind.
- ⚡ Vite v6 – Lightning fast build tool with hot module replacement
- 🔄 React v19 – Latest version of the popular UI library
- 📦 TypeScript v5.8 – Static typing and enhanced developer experience
- 🧱 Feature-based architecture – Scalable folder structure
- 🎨 Tailwind CSS v4 – Utility-first styling framework
- 🔍 ESLint v9 – Advanced linting with zero-warnings policy
- 💅 Prettier v3.5 – Code formatting enforced via pre-commit
- 🧹 Husky + lint-staged – Pre-commit hooks for code quality enforcement
- 🔒 pnpm enforced – Efficient package management
- ✅ Production-ready configuration – Set up for optimal performance
Well described structure you can find here: structure-guide.md
This is a GitHub repository template. You can use it as a starting point for your own projects:
- Click the green "Use this template" button at the top of the repository page
- Select "Create a new repository"
- Fill in your repository details and create the new repository
- Clone your new repository to your local machine
git clone https://github.com/your-username/your-new-repo-name.git
cd your-new-repo-name- Node.js v22+ - This template requires Node.js version 22 or higher
- pnpm - This template uses pnpm as the package manager
# Check your Node.js version
node -v
# Install or update Node.js if needed
# Visit https://nodejs.org/ or use a version manager like nvm
# Install pnpm if you don't have it already
npm install -g pnpmThis template requires pnpm as the package manager. The project is configured to only allow pnpm.
pnpm installpnpm devYour app will be available at http://localhost:5173 by default.
pnpm buildpnpm dev- Start the development server with Vitepnpm build- Run TypeScript build and create production build with Vitepnpm preview- Preview the production build locallypnpm prettier:check- Check code formatting with Prettierpnpm prettier:fix- Fix code formatting with Prettierpnpm lint:check- Check for linting errors with ESLint (with zero warnings allowed)pnpm lint:fix- Fix linting errors automatically with ESLintpnpm check-style- Run both linting and formatting checkspnpm fix-style- Fix both linting and formatting issues
Contributions are welcome and appreciated! Here's how you can contribute:
- Click the "Fork" button at the top right of this repository
- Clone your forked repository to your local machine
git clone https://github.com/your-username/react-starter-template.git
cd react-starter-templateCreate a new branch for your feature or bugfix:
git checkout -b feature/your-feature-name
# or
git checkout -b fix/issue-you-are-fixing- Implement your changes
- Make sure to follow the code style guidelines
- Write tests for your changes if applicable
- Run the linter and tests to ensure everything passes:
pnpm check-stylegit add .
git commit -m "Brief description of your changes"
git push origin your-branch-name- Go to the original repository on GitHub
- Click "Pull Request" and then "New Pull Request"
- Select your fork and branch from the dropdown
- Fill in the PR template with details about your changes
- Submit the pull request
- Follow the existing code style and project structure
- Update documentation for any new features
- Add tests for new features or bug fixes
- Keep pull requests focused on a single topic
- Be respectful and constructive in discussions
This project is licensed under the MIT License - see the LICENSE file for details.
- Vite team for the amazing build tool
- React team for the incredible library
- Community members who have contributed to this template