A CLI tool that scaffolds full-stack boilerplate projects using Node.js + React + Tailwind + MySQL. Current version 2.1.4. It provides interactive project creation with three templates (Hotel, Parking, Student Management), JWT authentication, full CRUD, auto-database creation, and seeded sample data. Differentiators include an all-in-one setup with no manual SQL, protected/guest routes, and a random project picker. Primarily for educational or rapid prototyping purposes.
npm install create-butterfly-app-v2No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Scaffolds a full-stack project with interactive prompts for template selection and project name.
Start XAMPP or your MySQL service before running the dev server.
Run npx create-butterfly-app-v2 in an empty directory or a parent directory where a new folder can be created.
Check MySQL for existing databases with similar names before running, or manually edit backend/db/schema.sql.
Ensure you modify files inside the project's src/ and backend/ directories for Vite hot reload to apply.
Start your MySQL service (e.g., via XAMPP) and ensure it's listening on the default port.
Delete the generated project folder and rerun npx create-butterfly-app-v2, ensuring you have Node >=14 and npm >=6.
Run npm install inside the generated project folder before starting the dev server.
No dependency data recorded yet.