Create JS Stack CLI

November 17, 2025 ยท View on GitHub

npm version npm downloads License

A powerful CLI tool for scaffolding production-ready JavaScript full-stack projects with best practices built-in.

๐Ÿš€ Quick Start

# Interactive setup (recommended)
npx create-js-stack@latest my-app

# Quick start with defaults
npx create-js-stack@latest my-app --yes

# Custom stack
npx create-js-stack@latest my-app \
  --frontend react \
  --backend express \
  --database postgresql \
  --orm prisma \
  --auth jwt \
  --package-manager pnpm \
  --git \
  --install

โœจ Features

Supported Technologies

Frontend: React, Vue, Angular, Svelte, Next.js, Nuxt, React Native
Backend: Express, Fastify, Koa, Hapi, NestJS
Databases: PostgreSQL, MySQL, SQLite, MongoDB
ORMs: Prisma, Sequelize, TypeORM, Mongoose
Auth: JWT, Passport, Auth0, OAuth, Better Auth
Addons: Docker, Testing, Biome, Turborepo
Package Managers: npm, yarn, pnpm, bun

๐Ÿ“– Usage Examples

Full-Stack React App

npx create-js-stack@latest my-app \
  --frontend react \
  --backend express \
  --database postgresql \
  --orm prisma \
  --auth jwt \
  --addons docker,testing \
  --package-manager pnpm

Next.js Full-Stack

npx create-js-stack@latest my-app \
  --frontend nextjs \
  --database postgresql \
  --orm prisma \
  --auth better-auth \
  --package-manager pnpm

API Backend Only

npx create-js-stack@latest my-api \
  --frontend none \
  --backend nestjs \
  --database postgresql \
  --orm typeorm \
  --auth jwt \
  --addons docker,testing

๐Ÿ“‹ CLI Options

OptionDescriptionValues
--frontendFrontend framework(s)react, vue, angular, svelte, nextjs, nuxt, react-native
--backendBackend frameworkexpress, fastify, koa, hapi, nestjs, none
--databaseDatabase systempostgresql, mysql, sqlite, mongodb, none
--ormORM/ODMprisma, sequelize, typeorm, mongoose, none
--authAuthenticationjwt, passport, auth0, oauth, better-auth, none
--addonsAdditional toolsdocker, testing, biome, turborepo
--package-managerPackage managernpm, yarn, pnpm, bun
--gitInitialize git repositoryFlag
--installInstall dependenciesFlag
--yesUse defaults (quick start)Flag

Note: Project name is always customizable, even with --yes flag.

๐ŸŒ Interactive Builder

Visit js-stack.pages.dev/new to use our interactive stack builder and generate commands visually.

๐Ÿ“š Documentation

๐Ÿ› ๏ธ Development

# Clone repository
git clone https://github.com/vipinyadav01/js-stack.git
cd js-stack

# Install dependencies
npm install

# Build CLI
npm run build:cli

# Link for local testing
npm link

# Test locally
create-js-stack init test-project

๐Ÿค Contributing

Contributions are welcome! Please see CONTRIBUTING.md for guidelines.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'feat: add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

๐Ÿ“„ License

MIT License - see the LICENSE file for details.


Built with โค๏ธ by Vipin Yadav

Website โ€ข Documentation โ€ข GitHub