{"id":29543077,"url":"https://github.com/suryanshvermaa/create-express-mongo-prod","last_synced_at":"2026-04-10T14:37:40.714Z","repository":{"id":293454521,"uuid":"984089477","full_name":"suryanshvermaa/create-express-mongo-prod","owner":"suryanshvermaa","description":"npm package for creating production ready environment for expressjs","archived":false,"fork":false,"pushed_at":"2025-07-12T10:09:57.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-12T10:11:06.334Z","etag":null,"topics":["aws-s3","docker-compose","dockerfile","eslint","express","graphql","mongodb","mongoose","nodejs","postgresql","prettier","prisma"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/create-express-mongo-prod","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/suryanshvermaa.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-15T11:32:34.000Z","updated_at":"2025-07-12T10:10:01.000Z","dependencies_parsed_at":"2025-07-12T10:19:56.587Z","dependency_job_id":null,"html_url":"https://github.com/suryanshvermaa/create-express-mongo-prod","commit_stats":null,"previous_names":["suryanshvermaa/create-express-mongo-prod"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/suryanshvermaa/create-express-mongo-prod","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suryanshvermaa%2Fcreate-express-mongo-prod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suryanshvermaa%2Fcreate-express-mongo-prod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suryanshvermaa%2Fcreate-express-mongo-prod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suryanshvermaa%2Fcreate-express-mongo-prod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suryanshvermaa","download_url":"https://codeload.github.com/suryanshvermaa/create-express-mongo-prod/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suryanshvermaa%2Fcreate-express-mongo-prod/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265608632,"owners_count":23797345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws-s3","docker-compose","dockerfile","eslint","express","graphql","mongodb","mongoose","nodejs","postgresql","prettier","prisma"],"created_at":"2025-07-17T13:02:26.843Z","updated_at":"2025-12-30T19:14:40.901Z","avatar_url":"https://github.com/suryanshvermaa.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# create-express-mongo-prod\n[![npm version](https://img.shields.io/npm/v/create-express-mongo-prod)](https://www.npmjs.com/package/create-express-mongo-prod)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n![Downloads](https://img.shields.io/npm/dw/create-express-mongo-prod)\n![GitHub stars](https://img.shields.io/github/stars/suryanshvermaa/create-express-mongo-prod)\n\nA comprehensive CLI tool to quickly scaffold production-ready Express.js applications with multiple database options, advanced features, and modern development tools. This tool helps you create scalable and well-structured Express projects with best practices and enterprise-grade setup.\n\n## 📚 Documentation\nFor full documentation, please visit:\n👉 [Project Documentation](https://dev-doc.netlify.app/docs/Nodejs/nodejsProduction)\n\n## Now includes advanced service integrations:\n- Redis caching (JS/TS)\n- Kafka event streaming (JS/TS)\n- Socket.IO real-time communication (JS/TS)\n- BullMQ job queues (JS/TS)\n\n## Features\n\n- 🚀 Quick project scaffolding with interactive CLI\n- 🔧 Support for both TypeScript and JavaScript\n- 🗄️ Multiple database support:\n  - MongoDB with Mongoose ODM\n  - PostgreSQL with Prisma ORM\n- 🧬 Optional GraphQL setup with Apollo Server\n- ☁️ AWS S3 integration for file uploads\n- 📦 Multiple package manager support (npm, yarn, pnpm)\n- 🏗️ Production-ready project structure\n- 📝 Well-organized code architecture\n- 🎯 Scalable and maintainable codebase\n- 🎨 Development tools integration:\n  - ESLint for code linting\n  - Prettier for code formatting\n  - Husky for Git hooks\n  - Docker and Docker Compose support\n- ✨ Automatic code formatting and linting\n- 🔄 Multiple template branches for different feature combinations\n\n## Installation \u0026 Usage\n\nYou can create a new project using any of the following commands:\n\nUsing npm:\n```bash\nnpm create express-mongo-prod\n```\n\nUsing yarn:\n```bash\nyarn create express-mongo-prod\n```\n\nUsing pnpm:\n```bash\npnpm create express-mongo-prod\n```\n\nThe CLI will guide you through the following steps:\n\n1. **Project Name**: Enter your project name\n2. **Package Manager**: Choose your preferred package manager (npm, yarn, or pnpm)\n3. **Language**: Select TypeScript or JavaScript\n4. **Database/ORM**: Choose between:\n   - Mongoose with MongoDB\n   - Prisma with PostgreSQL\n5. **Features** (Optional): Select additional features:\n   - GraphQL with Apollo Server\n   - AWS S3 integration for file uploads\n   - BullMQ for queue processing\n   - Socket.io\n   - Kafka\n   - Redis\n\nNote: You don't need to install the package globally. The `create` command will automatically download and execute the latest version of the package.\n\n## Available Templates\n\nThe tool provides multiple template branches based on your selections:\n\n### TypeScript Templates\n- **Main**: Basic Express + TypeScript setup\n- **Express + AWS S3**: File upload capabilities\n- **GraphQL**: GraphQL API with Apollo Server\n- **GraphQL + AWS S3**: Full-stack GraphQL with file uploads\n\n### JavaScript Templates\n- **Main**: Basic Express + JavaScript setup\n- **Express + AWS S3**: File upload capabilities\n- **GraphQL**: GraphQL API with Apollo Server\n- **GraphQL + AWS S3**: Full-stack GraphQL with file uploads\n\n### Database Support\n- **MongoDB**: Using Mongoose ODM with TypeScript/JavaScript\n- **PostgreSQL**: Using Prisma ORM with TypeScript/JavaScript\n\n## Project Structure\n\nThe generated project includes:\n\n- Express.js server setup with middleware\n- Database integration (MongoDB/PostgreSQL)\n- Environment configuration management\n- Error handling middleware\n- Request validation and sanitization\n- Production deployment configuration\n- Development tools setup\n- VS Code settings for optimal development experience\n- Docker configuration for containerization\n- Git hooks for code quality\n\n## Getting Started\n\nAfter creating your project:\n\n1. Navigate to your project directory:\n   ```bash\n   cd your-project-name\n   ```\n\n2. Install dependencies:\n   ```bash\n   npm install\n   # or\n   yarn install\n   # or\n   pnpm install\n   ```\n\n3. Set up your environment variables:\n   ```bash\n   cp .env.example .env\n   ```\n\n4. Start the development server:\n   ```bash\n   npm run dev\n   # or\n   yarn dev\n   # or\n   pnpm dev\n   ```\n\n## Development Tools\n\n### Code Quality\n- **ESLint**: Configured for consistent code style\n- **Prettier**: Automatic code formatting\n- **Husky**: Git hooks for pre-commit linting\n\n### Containerization\n- **Docker**: Containerized application setup\n- **Docker Compose**: Multi-service development environment\n\n## License\n\nMIT © Suryansh Verma\n\n## Author\n\n- Suryansh Verma\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## Support\n\nIf you encounter any issues or have questions, please open an issue on the GitHub repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuryanshvermaa%2Fcreate-express-mongo-prod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuryanshvermaa%2Fcreate-express-mongo-prod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuryanshvermaa%2Fcreate-express-mongo-prod/lists"}