Skip to content

Latest commit

 

History

History
86 lines (57 loc) · 1.08 KB

File metadata and controls

86 lines (57 loc) · 1.08 KB

npm version downloads

setup-node-api

A minimal CLI for scaffolding Node.js + Express APIs.

Opinionated, simple, and focused on developer experience.


Quick Start

npx setup-node-api my-api

Features

  • Fast API scaffolding
  • JavaScript and TypeScript support
  • Interactive prompts + CLI flags
  • Safe project creation
  • Clean project structure

Usage

setup-node-api <project-name>

Options

--typescript
--no-install
--port <number>

Example

npx setup-node-api my-api --typescript

Generated Project

my-api/
  ├── src/
  │   └── app.js / app.ts
  ├── package.json
  ├── .env

Architecture

  • CLI layer (Commander)
  • Core orchestration layer
  • Services (template, install, filesystem)
  • Prompt system + validation

Roadmap

  • Command-based CLI (create, add, generate)
  • Config file support
  • Plugin system
  • AI-assisted scaffolding

License

MIT