{"id":42554,"library":"create-butterfly-app-v2","title":"Butterfly App V2","description":"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.","status":"active","version":"2.1.4","language":"javascript","source_language":"en","source_url":null,"tags":["javascript"],"install":[{"cmd":"npm install create-butterfly-app-v2","lang":"bash","label":"npm"},{"cmd":"yarn add create-butterfly-app-v2","lang":"bash","label":"yarn"},{"cmd":"pnpm add create-butterfly-app-v2","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"Use npx to avoid global install. The CLI will prompt for project type and name.","wrong":"npm install -g create-butterfly-app-v2 && create-butterfly-app-v2","symbol":"create-butterfly-app-v2","correct":"npx create-butterfly-app-v2"}],"quickstart":{"code":"npx create-butterfly-app-v2","lang":"javascript","description":"Scaffolds a full-stack project with interactive prompts for template selection and project name."},"warnings":[{"fix":"Start XAMPP or your MySQL service before running the dev server.","message":"Requires MySQL server running (e.g., XAMPP) with default credentials (root, no password).","severity":"gotcha","affected_versions":">=2.0.0"},{"fix":"Run npx create-butterfly-app-v2 in an empty directory or a parent directory where a new folder can be created.","message":"The CLI will generate a new directory; do not run inside an existing project folder unless you intend to overwrite.","severity":"gotcha","affected_versions":">=2.0.0"},{"fix":"Check MySQL for existing databases with similar names before running, or manually edit backend/db/schema.sql.","message":"The auto-generated database name may conflict with existing databases if not unique.","severity":"gotcha","affected_versions":">=2.0.0"},{"fix":"Ensure you modify files inside the project's src/ and backend/ directories for Vite hot reload to apply.","message":"Hot reload may not work if edits are made outside the src directory structure.","severity":"gotcha","affected_versions":">=2.0.0"}],"env_vars":null,"search_vec":"'2.1.4':21 'all-in-on':49 'app':2 'authent':35 'auto':39 'auto-databas':38 'boilerpl':12 'butterfli':1 'cli':5 'creation':26,41 'crud':37 'current':19 'data':45 'databas':40 'differenti':46 'educ':67 'full':10,36 'full-stack':9 'hotel':30 'includ':47 'interact':24 'javascript':72 'jwt':34 'manag':33 'manual':56 'mysql':18 'node.js':15 'one':52 'park':31 'picker':64 'primarili':65 'project':13,25,63 'protected/guest':58 'prototyp':70 'provid':23 'purpos':71 'random':62 'rapid':69 'react':16 'rout':59 'sampl':44 'scaffold':8 'seed':43 'setup':53 'sql':57 'stack':11 'student':32 'tailwind':17 'templat':29 'three':28 'tool':6 'use':14 'v2':3 'version':20","created_at":"2026-06-05T16:55:32.930169+00:00","updated_at":"2026-06-05T16:55:32.930169+00:00","problems":[{"fix":"Start your MySQL service (e.g., via XAMPP) and ensure it's listening on the default port.","cause":"MySQL server is not running or not accessible at localhost:3306.","error":"Error: connect ECONNREFUSED 127.0.0.1:3306"},{"fix":"Delete the generated project folder and rerun npx create-butterfly-app-v2, ensuring you have Node >=14 and npm >=6.","cause":"Missing dependencies or conflicting versions in the generated project.","error":"ERR_PNPM_RECURSIVE_RUN_FIRST_FAILED  Command failed with exit code 1"},{"fix":"Run npm install inside the generated project folder before starting the dev server.","cause":"Dependencies not installed properly due to network issues during scaffold.","error":"Error: Cannot find module 'react-router-dom'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"create-butterfly-app-v2","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-05","next_check":"2026-09-03","install_tag":null}}