Create JS Stack CLI
November 17, 2025 ยท View on GitHub
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
| Option | Description | Values |
|---|---|---|
--frontend | Frontend framework(s) | react, vue, angular, svelte, nextjs, nuxt, react-native |
--backend | Backend framework | express, fastify, koa, hapi, nestjs, none |
--database | Database system | postgresql, mysql, sqlite, mongodb, none |
--orm | ORM/ODM | prisma, sequelize, typeorm, mongoose, none |
--auth | Authentication | jwt, passport, auth0, oauth, better-auth, none |
--addons | Additional tools | docker, testing, biome, turborepo |
--package-manager | Package manager | npm, yarn, pnpm, bun |
--git | Initialize git repository | Flag |
--install | Install dependencies | Flag |
--yes | Use defaults (quick start) | Flag |
Note: Project name is always customizable, even with
--yesflag.
๐ Interactive Builder
Visit js-stack.pages.dev/new to use our interactive stack builder and generate commands visually.
๐ Documentation
- Getting Started: js-stack.pages.dev/docs/getting-started
- Technologies: js-stack.pages.dev/docs/technologies
- Commands: js-stack.pages.dev/docs/commands
- Examples: js-stack.pages.dev/docs/examples
๐ ๏ธ 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.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'feat: add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
๐ License
MIT License - see the LICENSE file for details.
๐ Links
- Website: js-stack.pages.dev
- Documentation: js-stack.pages.dev/docs
- GitHub: github.com/vipinyadav01/js-stack
- NPM: npmjs.com/package/create-js-stack
Built with โค๏ธ by Vipin Yadav
Website โข Documentation โข GitHub