create-xman-app
v1.0.0
Published
Full-stack project generator with React, Express, and MySQL. Create complete applications in minutes.
Maintainers
Readme
create-xman-app
Full-stack scaffolder. One command, whole project ready.
npx create-xman-appWhat it generates
- Backend — Express + MySQL, JWT or Session auth, CRUD routes per entity, reports route
- Frontend — React + Vite + Tailwind (black & white), login, CRUD pages with real table columns and forms, reports page with print
- database.sql — Full schema with your columns, primary keys, constraints, a daily view, and default admin user
- README.md — Inside the generated project with all routes listed
Features
- Variable number of entities (2–6)
- Define column names and types per entity (
name:string,price:decimal,date:date) - Mark columns as UNIQUE
- Custom or auto-increment primary key per entity
- Port conflict detection — won't crash if 5000/5173 are taken
- Project folder collision handling
- npm install with
--legacy-peer-depsso it works across npm versions, falls back to yarn - Node 16+ and npm 6+ check at startup
- Auto-generated JWT/Session secrets
.env+.env.examplegenerated.npmrcwithlegacy-peer-deps=truein each generated project- Exact dependency versions (no
^) for stability - Clean minimal logs — no fluff
Column types
| You type | SQL type | Input type | |---|---|---| | string | VARCHAR(255) | text | | int / integer / number | INT | number | | decimal / float / price / amount | DECIMAL(10,2) | number | | date | DATE | date | | datetime / timestamp | DATETIME | datetime-local | | bool / boolean | TINYINT(1) | checkbox | | text | TEXT | text |
Requirements
- Node.js 16+
- npm 6+ (or yarn)
- MySQL running locally
