create-scalable-react-app
v0.1.1
Published
Scaffold a scalable, enterprise-ready React app with TypeScript, Redux Toolkit, Tailwind CSS, and best practices built-in. Quickly generate a modular, maintainable, and developer-friendly project structure optimized for modern React development.
Readme
🚀 Create Scalable React App
Create Scalable React App is a powerful, dynamic CLI tool designed to scaffold production-ready React applications. Tailored for modern development, it empowers you to bootstrap enterprise-grade React projects with robust architectures, built-in best practices, and your preferred tech stack in seconds.
✨ Features
- TypeScript & JavaScript Support: Choose between strict type-safety or standard JS.
- State Management: Built-in boilerplate for Redux Toolkit or Zustand (or simply opt out).
- Styling: Out-of-the-box configuration for Tailwind CSS or standard CSS.
- Routing: Ready-to-go React Router DOM setup.
- Code Quality Guardrails: Pre-configured ESLint & Prettier for consistent code styles out of the gate.
- Testing: Optional pre-configured Jest + React Testing Library.
- Scalable Architecture: Choose between a Feature-based folder structure (highly recommended for scalable apps) or a standard Flat folder structure.
📦 Quick Start
The easiest way to get started is to use npx. There is no need to install anything globally.
npx create-scalable-react-app my-scalable-appNavigate into your new project, install dependencies, and start the development server:
cd my-scalable-app
npm install
npm run dev🛠 Interactive Configuration
If you run the command without a project name, the CLI will interactively guide you through the setup process:
npx create-scalable-react-appAvailable Prompts
During setup, you can customize your project with the following choices:
- Project Name: The name of your new application directory.
- Language:
TypeScript/JavaScript - State Management:
Redux Toolkit/Zustand/None - Tailwind CSS:
Yes/No - React Router DOM:
Yes/No - ESLint + Prettier:
Yes/No - Testing (Jest + React Testing Library):
Yes/No - Folder Structure:
Feature-based(recommended) /Flat
🤝 Contributing
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
📄 License
This project is licensed under the ISC License. Designed and maintained with ❤️ by Team Nirmit Kotadiya.
