create-butterfly-app-v2
v2.1.4
Published
Full-stack boilerplate: Node.js + React + Tailwind + MySQL. Choose from Hotel, Parking, or Student Management projects with auth + full CRUD.
Readme
create-butterfly-app-v2
Created by Ishimwe Kevin — [email protected]
Scaffold a full-stack Node.js + React + Tailwind + MySQL project with authentication, CRUD, and multiple project templates.
npx create-butterfly-app-v2Features
- Interactive CLI with cool ASCII art & project type selection
- Authentication — JWT-based register/login/logout
- Full CRUD — Create, Read, Update, Delete for every entity
- 3 Project Templates:
- 🏨 Hotel Reservation (rooms, reservations)
- 🅿️ Car Parking (slots, bookings)
- 🎓 Student Management (students, courses, enrollments)
- Auto-database creation — no manual SQL needed
- Sample data seeded automatically
- Tailwind CSS — modern, responsive UI out of the box
- React Router — protected routes, guest routes
- MySQL via XAMPP — connection pool, auto-table creation
Quick Start
npx create-butterfly-app-v2Follow the prompts:
- Select project type (or pick Random 🎲)
- Name your project
- Start XAMPP (Apache + MySQL)
cd your-project && npm run dev- Open
http://localhost:5173and register
Manual SQL Setup
A backend/db/schema.sql file is included with every project for reference or manual database setup.
License
MIT
