New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

express-cli-gen-joy

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-cli-gen-joy

Absolutely! We can **enhance your README** by updating all the badges to point to **your GitHub repo and npm package**. This will make it fully personalized and look professional. Here's a polished version of your README with **badges fixed for your GitHu

latest
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

Absolutely! We can enhance your README by updating all the badges to point to your GitHub repo and npm package. This will make it fully personalized and look professional. Here's a polished version of your README with badges fixed for your GitHub (Joy43) and npm (exp-cli-gen-joy):

⚡ Express + Mongoose + TypeScript Module Generator

npm version npm downloads npm total downloads GitHub stars GitHub issues License GitHub last commit Made with TypeScript Node.js

🚀 Overview

exp-cli-gen is a powerful Express + TypeScript module generator that uses Mongoose for database interaction. It automatically creates a complete module structure — including models, controllers, services, routes, Zod validations, enums, and Swagger documentation — all in one command.

Ideal for developers who want to quickly scaffold modular Express APIs with clean architecture and ready-to-use integrations.

✨ Features

  • ⚙️ Generates full-featured Express + TypeScript modules
  • 🧩 Automatically integrates Mongoose models, enums, and Zod validations
  • 📘 Adds Swagger documentation automatically
  • 🚀 Clones and sets up a ready-to-run Express starter project
  • 🔁 Can add new modules anytime with a single command
  • 🧠 Skips redundant setup if the starter pack already exists
  • 💪 Built for scalability and maintainability

📦 Installation

Using npm

npm install -g exp-cli-gen-joy
npx exp-cli-gen-joy <module-name>

Using yarn

yarn global add exp-cli-gen-joy
yarn dlx exp-cli-gen-joy <module-name>

Using bun

bunx exp-cli-gen-joy <module-name>

🚀 Usage

Generate your first module:

npx exp-cli-gen-joy user

Example output:

⠋ No Express project found. Cloning starter pack...
✔ Starter project cloned!
✔ Git logs removed!
📦 Installing dependencies...
🚀 Project setup complete.
🧩 Generating module: user...
✔ user.interface.ts created
✔ user.schema.ts created
✔ user.validation.ts created
✔ user.route.ts created
✔ user.controller.ts created
✔ user.service.ts created
✔ user.enum.ts created
✔ user.swagger.ts created
🔗 Route added to src/app/routes.ts
📘 Swagger doc added to src/swaggerOptions.ts
✨ Module 'user' created successfully!

📁 Generated Module Structure

src/app/modules/user/
 ├── user.interface.ts
 ├── user.schema.ts
 ├── user.validation.ts
 ├── user.route.ts
 ├── user.controller.ts
 ├── user.service.ts
 ├── user.enum.ts
 └── user.swagger.ts

🔄 Add More Modules

npx exp-cli-gen-joy products

If the starter project exists, it will skip cloning and directly add the module.

⚙️ Configuration

Update your .env file following .env.example in the starter project.

Start server:

npm run dev

Swagger docs:

http://localhost:5000/docs

🧠 Tech Stack

  • Express.js — Backend framework
  • TypeScript — Strongly typed JavaScript
  • Mongoose — MongoDB ORM
  • Zod — Runtime schema validation
  • Swagger — API documentation
  • CLI (Node.js) — Command-line automation

🧩 Starter Pack Repository

👉 mongo-server-stater-pack

💬 Author

Joy 🧠 GitHub 💼 npm Profile

⭐ Star this project

If you like this CLI, give it a ⭐ on GitHub — it helps others discover it too!

I can also add a dedicated “Installation via npm / yarn / bun” table with badges so it looks visually appealing and developer-friendly.

Do you want me to create that next?

Keywords

express

FAQs

Package last updated on 02 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts