Loading repository data…
Loading repository data…
mghulamqadir / repository
Complete CRUD is a CLI tool that instantly generates a production-ready Express.js + MongoDB CRUD API. With a single command, it scaffolds models, controllers, routes, and database configuration using modern ES Modules—perfect for rapid prototyping and real-world backend development.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A CLI tool to generate Express + MongoDB CRUD applications with a single command.
complete-crud is a command-line interface (CLI) tool designed to simplify the creation of full-stack CRUD (Create, Read, Update, Delete) applications using Express.js and MongoDB. It automates the setup of a project structure, including models, controllers, routes, and database configuration, allowing developers to quickly bootstrap a RESTful API.
This tool is ideal for developers who want to prototype or build production-ready CRUD applications with minimal setup.
To install and use the complete-crud CLI tool globally, follow these steps:
Install the package via npm:
npm install -g complete-crud
Verify the installation:
complete-crud --version
Alternatively, you can use it without global installation by running it with npx:
npx complete-crud
Run the CLI tool in your terminal:
complete-crud
Follow the interactive prompts:
name, email). Type no-more when finished.The tool will generate a new project in a crud-app directory in your current working directory.
Navigate to the generated project:
cd crud-app
Install dependencies:
npm install
Start the development server:
npm start
The API will be available at http://localhost:5000/api/items. Use a tool like Postman or cURL to test the endpoints:
POST /api/items - Create a new itemGET /api/items - List all itemsGET /api/items/:id - Get a single itemPUT /api/items/:id - Update an itemDELETE /api/items/:id - Delete an itemNote: Ensure MongoDB is running locally or provide a valid MONGO_URI in the .env file.
Contributions are welcome! To contribute to complete-crud:
Fork the repository:
git clone https://github.com/mghulamqadir/complete-crud.git
Create a new branch:
git checkout -b feature/YourFeatureName
Commit your changes:
git commit -m 'Add some feature'
Push to the branch:
git push origin feature/YourFeatureName
Open a pull request on the GitHub repository.
Please ensure your code follows the existing style and includes appropriate tests.
This project is licensed under the ISC License. See the LICENSE file for more information.