Skip to content

πŸš€ A powerful CLI to scaffold modern web projects with React, Vue, Svelte & more. TypeScript, Tailwind CSS, Router support included. Perfect for beginners!

Notifications You must be signed in to change notification settings

mdadeel/reactapp-project-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ 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 - Optional utility-first CSS framework
  • 🧭 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-setup

One-time Use (npx)

npx reactapp-project-setup

🎯 Usage

Simply run the command:

reactapp

Then follow the interactive prompts:

? πŸ“¦ Project name: my-awesome-app
? 🎨 Choose your framework: React
? πŸ“ Select your language: JavaScript
? 🎨 Add Tailwind CSS? Yes
? 🧭 Include router? No
? πŸ“ Create organized folder structure? Yes

Quick Example

# Install globally
npm install -g ractapp-project-setup

# Create a new project
reactapp

# Follow prompts, then:
cd my-awesome-app
npm run dev

πŸ› οΈ What You Get

Framework Options

Framework Description Size
βš›οΈ React Most popular UI library ~45 KB
πŸ’š Vue Progressive framework ~34 KB
πŸ”Ί Svelte No virtual DOM, truly reactive ~2 KB
πŸ”· Preact Fast 3KB React alternative ~3 KB
πŸ”Ά Lit Lightweight web components ~5 KB
⚑ Vanilla Pure JavaScript, no framework 0 KB

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

Optional Features

  • Tailwind CSS - Pre-configured utility-first CSS framework
  • Router - Navigation setup (React Router, Vue Router, or Svelte Routing)
  • Organized Folders - Clean, scalable project structure

🎨 Supported Tech Stacks

React

  • βœ… React 18+
  • βœ… JavaScript or TypeScript
  • βœ… React Router (optional)
  • βœ… Tailwind CSS (optional)

Vue

  • βœ… Vue 3+
  • βœ… JavaScript or TypeScript
  • βœ… Vue Router (optional)
  • βœ… Tailwind CSS (optional)

Svelte

  • βœ… Svelte 4+
  • βœ… JavaScript or TypeScript
  • βœ… Svelte Routing (optional)
  • βœ… Tailwind CSS (optional)

Others

  • βœ… Preact with Tailwind
  • βœ… Lit (JavaScript or TypeScript)
  • βœ… Vanilla JS/TS

πŸ“š 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: Yes

Create a Vue 3 app with router

reactapp
# Choose: Vue β†’ JavaScript β†’ Router: Yes

Create a minimal Svelte app

reactapp
# Choose: Svelte β†’ JavaScript β†’ Tailwind: No β†’ Router: No

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

πŸ“§ Support

🌟 Show Your Support

Give a ⭐️ if this project helped you!


Made with ❀️ by Shahnawas Adeel

About

πŸš€ A powerful CLI to scaffold modern web projects with React, Vue, Svelte & more. TypeScript, Tailwind CSS, Router support included. Perfect for beginners!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published