create-express-vercel-typescript-app
v0.1.2
Published
Scaffold a minimal **Express + TypeScript** backend ready for **Vercel deployment**.
Readme
create-express-vercel-typescript-app
Scaffold a minimal Express + TypeScript backend ready for Vercel deployment.
This CLI generates a production-ready project structure with:
- Express
- TypeScript (NodeNext / ESM)
- Nodemon for development
- Vercel configuration
- tsconfig setup
- Optional git initialization
- Optional dependency installation
Commands
Run directly using:
npm create express-vercel-typescript-app@latest my-appor
npx create-express-vercel-typescript-app@latest my-appUsage:
npm create express-vercel-typescript-app <project-name>Optional flags:
--no-installSkip npm install--gitInitialize a git repository-h, --helpShow help
If no project name is provided, the CLI will prompt you interactively.
Generated Project Structure
my-app/
src/
index.ts
nodemon.json
package.json
package-lock.json
tsconfig.json
vercel.jsonDevelopment
After scaffolding
cd my-app
npm run devProduction build
npm run build
npm startVercel deployment
The project includes a vercel.json configuration.
Deploy using:
vercelOr connect the repository through the Vercel dashboard.
Requirements
- Node.js >= 18
- npm >= 8
License
MIT
