Skip to content

mohosin2126/starter-structure-cli

Repository files navigation

starter-structure-cli

Scaffold starter projects from stack combinations like react vite ts tailwind express prisma mysql.

starter-structure-cli supports direct template selection, interactive prompts, and natural stack queries. It ships with frontend, backend, fullstack, and monorepo starters built from layered template sources.

Installation

Run with npx:

npx starter-structure-cli my-app

Or use the standard npm create flow:

npm create starter-structure-cli@latest my-app

Or install globally:

npm install -g starter-structure-cli
starter-structure-cli my-app

If you run npm install starter-structure-cli, npm only installs the CLI package into the current folder. It does not run the scaffolder automatically.

More setup details are available in docs/installation.md.

Quick Start

Interactive mode:

npx starter-structure-cli my-app

Create flow:

npm create starter-structure-cli@latest my-app

Exact template:

npx starter-structure-cli my-app --template fullstack/react-vite-ts-tailwind-express-prisma-mysql

Stack tokens:

npx starter-structure-cli my-app react vite ts tailwind express prisma mysql

List templates:

npx starter-structure-cli --list

Repository Structure

bin                 CLI entry point
lib                 Template build helpers
packages            Companion publishable packages like npm create wrappers
scripts             Build, validation, stats, and publish utilities
template-sources    Bases, layers, presets, and reusable components
templates           Generated templates used by the CLI
docs                Public project documentation

Documentation

Local Development

Useful commands:

npm install
npm run build:architecture-stubs
npm run build:templates
npm run check:create-package
npm run check:templates
node ./bin/starter-structure-cli.js --list

For template changes, update template-sources/ first and then rebuild templates/.

Usage Stats

npm does not provide unique user counts, but download counts are available:

npm run stats:downloads

Links

License

MIT

About

Scaffold starter projects from 30+ stack-based templates. Supports React, Next.js, Vue, Express, NestJS, Prisma, Mongoose, Tailwind, and more. Interactive prompts or natural language stack tokens. Fullstack, monorepo, frontend-only, and backend-only project categories

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Sponsor this project

Packages

 
 
 

Contributors