reactapp-project-setup
v8.0.0
Published
A powerful CLI to quickly scaffold React projects with Vite, TypeScript, Tailwind CSS, and more
Maintainers
Readme
🚀 ReactApp Project Setup
A powerful, beginner-friendly CLI tool to scaffold modern web projects in seconds with React, Vue, Svelte, and more!
✨ Features
- 🎨 Multiple Frameworks - React, Vue, Svelte, Preact, Lit, or Vanilla JS
- 📘 TypeScript & JavaScript - Choose your preferred language
- ⚡ Vite Powered - Lightning-fast development experience
- 🎨 Tailwind CSS v4 - Optional utility-first CSS framework with new Vite plugin approach
- 🧭 Router Support - Optional routing setup for React, Vue, and Svelte
- 📁 Organized Structure - Pre-configured folder structure
- 🎯 Beginner Friendly - Beautiful CLI with clear instructions
- 🚀 Zero Config - Start coding immediately
📦 Installation
Global Installation (Recommended)
npm install -g reactapp-project-setupOne-time Use (npx)
npx reactapp-project-setup🎯 Usage
Simply run the command:
reactappThen follow the interactive prompts:
┌─ 📁 Project name: my-awesome-app
└──
┌─ 🎨 Choose your framework: ⚛️ React - The UI library everyone loves
└──
┌─ 📝 Select your language: 📘 TypeScript - Type-safe & scalable
└──
┌─ 🎨 Add Tailwind CSS? [ YES ]
└──
┌─ 🧭 Include router? [ NO ]
└──
┌─ 📁 Organized folder structure? [ YES ]
└──Quick Example
# Install globally
npm install -g reactapp-project-setup
# Create a new project
reactapp
# Follow prompts, then:
cd my-awesome-app
npm run dev🛠️ What You Get
Framework Options
| Framework | Description | |-----------|-------------| | ⚛️ React | Most popular UI library | | 💚 Vue | Progressive framework | | 🔺 Svelte | No virtual DOM, truly reactive | | 🔷 Preact | Fast 3KB React alternative | | 🔶 Lit | Lightweight web components | | ⚡ Vanilla | Pure JavaScript, no framework |
Project Structure
After scaffolding, your project will have:
my-awesome-app/
├── src/
│ ├── components/ # Reusable components
│ ├── pages/ # Page components
│ ├── hooks/ # Custom hooks (React)
│ ├── assets/ # Images, fonts, etc.
│ ├── App.jsx # Main app component
│ └── main.jsx # Entry point
├── public/ # Static assets
├── index.html # HTML template
├── package.json # Dependencies
├── vite.config.js # Vite configuration
└── README.md # Project documentation📚 Commands
Once your project is created:
# Start development server
npm run dev
# Build for production
npm run build
# Preview production build
npm run preview🎯 Example Projects
Create a React + TypeScript + Tailwind app
reactapp
# Choose: React → TypeScript → Tailwind: YesCreate a Vue 3 app with router
reactapp
# Choose: Vue → JavaScript → Router: YesCreate a minimal Svelte app
reactapp
# Choose: Svelte → JavaScript → Tailwind: No → Router: No🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
- Built with Vite
- Powered by Inquirer.js
- Styled with Chalk
- Inspired by create-vite
📧 Support
- 🐛 Report Issues
- 💬 Discussions
- 📧 Email: [email protected]
🌟 Show Your Support
Give a ⭐️ if this project helped you!
Made with ❤️ by Shahnawas Adeel
