Skip to content

A CLI tool to quickly bootstrap a Vite + React project with TypeScript/JavaScript, Tailwind CSS, and optional state management (Redux, Recoil, Zustand) — run via npm create react-boot@latest

Notifications You must be signed in to change notification settings

dibakarghosh03/react-boot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 React Setup CLI

A simple interactive CLI tool to quickly scaffold a Vite + React project with TypeScript/JavaScript, state management options, and Tailwind CSS pre-configured.

✨ Features

  • 🛠️ Create a new React + Vite project in seconds
  • 📦 Supports JavaScript and TypeScript templates
  • ⚛️ Choose your state management: Recoil, Redux Toolkit, Zustand, or none
  • 🎨 Tailwind CSS automatically configured with Vite plugin
  • 🔌 Installs commonly used dependencies:

🖥️ Usage

Run directly with npm create :

npm create react-boot@latest

Example Walkthrough

Welcome to React Setup CLI!

? Enter the project name ( Enter . for current directory ) : my-app
? Select the language: (Use arrow keys)
  ▸ TypeScript
    JavaScript
? Select the state management:
  ▸ None
    Recoil
    Redux
    Zustand

It will:

  1. Scaffold a new Vite + React project
  2. Install selected dependencies
  3. Add Tailwind CSS configuration automatically
  4. Get you ready to code 🚀

🛠️ Development

If you want to modify and test the CLI locally :

node index.js

📂 Project Structure

After running the CLI, you'll get a standard Vite React project with Tailwind ready to use.

my-app
├── src
│   ├── App.tsx / App.jsx
│   ├── main.tsx / main.jsx
│   └── index.css
├── vite.config.ts / vite.config.js
├── package.json
└── tailwind.config.js

🚦 Run Your App

After setup is complete:

cd my-app
npm run dev

Or, if you chose . for the current directory:

npm run dev

🤝 Contributing

PRs are welcome! If you'd like to add features or fix issues, please open an issue first to discuss your idea.


Made with ❤️ by Dibakar

About

A CLI tool to quickly bootstrap a Vite + React project with TypeScript/JavaScript, Tailwind CSS, and optional state management (Redux, Recoil, Zustand) — run via npm create react-boot@latest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published