A command-line interface (CLI) for rapidly scaffolding a modern, professional React project. react-pro-starter
automates the tedious setup process, allowing you to start coding with your favorite libraries instantly.
Stop wasting time on repetitive installations and configurations. Get straight to building!
- Zero-Configuration Setup: Builds a robust project with a single command.
- Vite Integration: Uses Vite for a lightning-fast development experience.
- Modular Folder Structure: Automatically creates a clean and scalable project structure with folders like
components
,pages
,hooks
, andservices
. - Conditional Installation: You choose the libraries you need, and
react-pro-starter
installs and configures them for you.
- UI Libraries:
- Tailwind CSS (latest v4.1)
- Material UI (MUI)
- Shadcn UI
- Routing:
- State Management:
- Data Fetching:
- Form Handling:
To get started, simply run the following command in your terminal. npx
will download and execute the latest version of the CLI, so you don't need to install it globally.
npx react-pro-starter my-new-project
The CLI will guide you through a series of questions to customize your project.
$ npx react-pro-starter my-new-project
✔ Choose a UI Library: · Tailwind CSS
✔ Do you want to install React Router? · Yes
✔ Choose a State Management library: · Zustand
✔ Choose a Data Fetching library: · Axios
✔ Choose a Form Handling library: · None
🏗️ Creating a new React project using Vite...
📦 Installing all selected dependencies...
⚙️ Configuring Tailwind CSS for Vite...
📁 Creating common folder structure and files...
✅ Project "my-new-project" has been successfully created!
To get started, run the following commands:
cd my-new-project
npm run dev
Contributions are welcome! If you have ideas for new features, improvements, or bug fixes, please feel free to open an issue or submit a pull request.
- Fork the repository.
- Clone the repository to your local machine.
- Create a new branch (
git checkout -b feature/your-feature-name
). - Make your changes.
- Commit your changes (
git commit -m 'feat: Add new feature'
). - Push to the branch (
git push origin feature/your-feature-name
). - Open a pull request.
This project is licensed under the MIT License.