A powerful CLI tool for scaffolding production-ready JavaScript full-stack projects with best practices built-in.
# 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 \
--installFrontend: 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
npx create-js-stack@latest my-app \
--frontend react \
--backend express \
--database postgresql \
--orm prisma \
--auth jwt \
--addons docker,testing \
--package-manager pnpmnpx create-js-stack@latest my-app \
--frontend nextjs \
--database postgresql \
--orm prisma \
--auth better-auth \
--package-manager pnpmnpx create-js-stack@latest my-api \
--frontend none \
--backend nestjs \
--database postgresql \
--orm typeorm \
--auth jwt \
--addons docker,testing| 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.
Visit js-stack.pages.dev/new to use our interactive stack builder and generate commands visually.
- 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
# 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-projectContributions 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
MIT License - see the LICENSE file for details.
- 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