A lightning-fast CLI tool to scaffold Express backend projects with MongoDB or MySQL
create-jerry is a project scaffolding tool similar to Vite.js and Create React App, but designed specifically for backend development. It generates a production-ready Express.js boilerplate with your choice of MongoDB or MySQL, complete with folder structure, database configuration, and all necessary dependencies.
- 🎯 Interactive CLI - Simple prompts guide you through project setup
- ⚡ Fast Setup - Get a working backend in under 60 seconds
- 🗄️ Database Choice - MongoDB or MySQL support out of the box
- 📝 TypeScript Support - Choose JavaScript or TypeScript for your project
- 📁 Clean Architecture - Pre-configured folder structure following best practices
- 🔧 Ready to Code - All dependencies installed and configured automatically
npx create-jerryThat's it! Just answer a few prompts:
- Project name - What do you want to call your project?
- Database - MongoDB or MySQL?
- Language - JavaScript or TypeScript?
Your backend project will be created and ready to go! 🎉
your-project-name/
├── src/
│ ├── config/
│ │ └── .env
│ ├── controllers/
│ ├── middlewares/
│ ├── models/
│ │ └── db.js # Pre-configured database connection
│ └── routes/
├── app.js # Express server setup
└── package.json # With all dependencies configured
Base:
- Express.js - Web framework
- dotenv - Environment variables
- cors - Cross-origin resource sharing
Database:
- Mongoose (MongoDB) or MySQL2 (MySQL)
Dev Tools:
- Nodemon - Auto-restart during development
- TypeScript tooling (if TypeScript is selected)
npx create-jerrycd your-project-namenpm run devYour Express server will start with hot-reload enabled! 🔥
Setting up a backend project from scratch involves:
- ❌ Creating folder structure manually
- ❌ Installing and configuring dependencies
- ❌ Setting up database connections
- ❌ Configuring development environment
- ❌ 15-30 minutes of repetitive setup work
create-jerry reduces this to a single command! ✅
In your generated project:
npm run dev # Start development server with hot-reload
npm start # Start production server
npm run build # Compile TypeScript (TS projects only)npx create-jerry
? Project name: my-mongodb-api
? Select your Database: MongoDB
? Select your Language: Javascriptnpx create-jerry
? Project name: my-mysql-api
? Select your Database: MySQL
? Select your Language: TypescriptWatch the tool in action: Demo Video
Contributions are welcome! Feel free to:
- 🐛 Report bugs
- 💡 Suggest new features
- 🔧 Submit pull requests
MIT © Tanmay Khanna
Tanmay Khanna
- GitHub: @yourusername
- LinkedIn: Your LinkedIn
If this tool helped you save time, give it a star! ⭐
It helps others discover the project and motivates continued development.
Built with ❤️ to make backend development faster and easier