Skip to content

create-exs — Scaffold production-ready Node.js backends in seconds with interactive prompts for TypeScript/JavaScript, MongoDB, GraphQL, Docker, ESLint & more.

Notifications You must be signed in to change notification settings

ayanhasnain03/Cli-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡ create-exs

npm version
License: MIT

create-exs is a blazing-fast CLI to scaffold customizable Node.js backend projects with TypeScript, MongoDB, GraphQL, Docker, ESLint, and more—powered by clean code and developer love.


🚀 Why create-exs?

  • Zero Boilerplate — Eliminate repetitious setup steps
  • 🔧 Fully Configurable — Pick only the tech you need
  • Guided Prompts — Get your project up in seconds
  • 🏗️ Best Practices — Folder structure & defaults you’ll love

✨ Features

  • Customizable Stack: MongoDB, GraphQL, CORS, Docker, ESLint, Prettier, and more
  • TypeScript Ready: Full TS support and @/src path aliases
  • Built-in Dev Tools: Morgan logger, custom error handlers, .env support
  • Docker Support: Auto-generated Dockerfile for containerization

📦 Installation

You can use create-exs without installing it globally, thanks to npx, or install it in your project:

# Recommended: run via npx (always latest)
npx create-exs

# Or globally:
npm install -g create-exs
create-exs

# Or locally (per project):
npm install create-exs
npx create-exs
🔗 npm package: https://www.npmjs.com/package/create-exs

⚙️ Usage
Run

npx create-exs
Answer prompts to tailor your stack:

Project Name

Language (JavaScript / TypeScript)

MongoDB (Mongoose)

GraphQL (Apollo Server)

CORS Middleware

Error Handler

.env File

Morgan Logger

Dockerfile

ESLint & Prettier

Path Aliases (@/src)

Auto-install Dependencies

Start coding!


cd your-project-name
npm run dev
🗂️ Project Structure
text
Copy
Edit
your-project-name/
├── src/
│   ├── config/
│   ├── controllers/
│   ├── models/
│   ├── routes/
│   ├── utils/
│   └── index.(js|ts)
├── .env
├── .eslintrc.js
├── Dockerfile
├── package.json
└── README.md
✅ Express setup

🍃 Optional MongoDB & GraphQL

🌐 CORS & error middleware

🐳 Docker support

🧹 ESLint + Prettier

🔐 .env support

🕵️ Morgan logger

🧭 Path aliasing

🛠️ Contributing
Contributions are very welcome!

Fork the repo

Create your feature branch (git checkout -b feature/awesome-feature)

Commit your changes (git commit -m 'feat: add awesome feature')

Push to the branch (git push origin feature/awesome-feature)

Open a Pull Request

Please read CONTRIBUTING.md for details.

📄 License
This project is licensed under the MIT License — see the LICENSE file for details.

👤 Author
Ayan Hasnain
🔗 GitHub: @ayanhasnain03
🔗 LinkedIn: https://www.linkedin.com/in/ayan-hasnain-543475260/

Made with ❤️ for developers who love clean, fast, and flexible codebases.

About

create-exs — Scaffold production-ready Node.js backends in seconds with interactive prompts for TypeScript/JavaScript, MongoDB, GraphQL, Docker, ESLint & more.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published