{"repo":"michael-nwuju/mongeese","free":true,"listed":false,"github":"https://github.com/michael-nwuju/mongeese","clone":"git clone https://github.com/michael-nwuju/mongeese.git","description":"Auto-generate MongoDB migration scripts by detecting changes in your Mongoose schemas.","language":"TypeScript","stars":11,"topics":["migrate","migration","migrations","mongodb","mongoose"],"license":"MIT","category":"cli-tools","readme_excerpt":"🧬 Mongeese CLI Auto-generate MongoDB migration scripts by detecting changes in your Mongoose schemas. Mongeese CLI is a CLI tool that tracks your Mongoose models, detects schema changes, and generates versioned MongoDB migration files — just like TypeORM or Prisma, but built for MongoDB's schemaless world. --- 📦 Installation Install globally with npm: Or with yarn: Or use npx (no install required): --- ⚡ Quick Start --- 🛠 Commands mongeese init Initialize Mongeese in your project. This creates a connection configuration file. mongeese generate [options] Generate a migration file by comparing your current Mongoose schemas with the database state. Options: - -n, --name - Custom name for the migration file mongeese migrate [direction] [options] Apply, rollback, or show status of migrations. Options: - -t, --target - Target migration filename or timestamp --- 🧠 Why Use Mongeese CLI? ✅ Eliminate manual migration scripts - Auto-generate migrations from schema changes 🛡 Prevent silent schema drift - Track all changes between code and database 🚀 Speed up development - Works seamlessly with NestJS and Mongoose projects 🔁 Safe rollbacks - Generate both up and down migration commands 🧩 CI/CD friendly - Version-controlled migration files for deployment pipelines --- 📋 How It Works 1. Initialize : Run mongeese init to set up your database connection 2. Develop : Make changes to your Mongoose schemas as usual 3. Generate : Run mongeese generate to create a migration file 4. Review","default_branch":null,"files":null,"tree":[],"storefront":"/r/michael-nwuju","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/michael-nwuju/mongeese/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}