create-js-stack
v1.2.1
Published
A powerful, modern CLI tool for scaffolding production-ready JavaScript full-stack projects with extensive customization options and best practices built-in.
Downloads
70
Maintainers
Readme
Create JS Stack CLI
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 pnpmNext.js Full-Stack
npx create-js-stack@latest my-app \
--frontend nextjs \
--database postgresql \
--orm prisma \
--auth better-auth \
--package-manager pnpmAPI 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
