{"id":21816230,"url":"https://github.com/vrun545/restfull-api-using-mongodb-and-mvc-pattern","last_synced_at":"2026-04-10T02:40:50.963Z","repository":{"id":207779899,"uuid":"720076678","full_name":"vrun545/RESTfull-API-using-MongoDB-and-MVC-Pattern","owner":"vrun545","description":"A complete guide to RESTful API using ExpressJS and MongoDB followed by MVC pattern.","archived":false,"fork":false,"pushed_at":"2023-11-17T14:51:21.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T10:12:26.036Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/vrun545.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}},"created_at":"2023-11-17T14:27:25.000Z","updated_at":"2023-11-17T14:32:29.000Z","dependencies_parsed_at":"2023-11-17T16:10:12.309Z","dependency_job_id":null,"html_url":"https://github.com/vrun545/RESTfull-API-using-MongoDB-and-MVC-Pattern","commit_stats":null,"previous_names":["vrun545/restfull-api-using-mongodb-and-mvc-pattern"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vrun545/RESTfull-API-using-MongoDB-and-MVC-Pattern","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vrun545%2FRESTfull-API-using-MongoDB-and-MVC-Pattern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vrun545%2FRESTfull-API-using-MongoDB-and-MVC-Pattern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vrun545%2FRESTfull-API-using-MongoDB-and-MVC-Pattern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vrun545%2FRESTfull-API-using-MongoDB-and-MVC-Pattern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vrun545","download_url":"https://codeload.github.com/vrun545/RESTfull-API-using-MongoDB-and-MVC-Pattern/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vrun545%2FRESTfull-API-using-MongoDB-and-MVC-Pattern/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270781393,"owners_count":24643820,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-27T15:32:41.706Z","updated_at":"2026-04-10T02:40:45.943Z","avatar_url":"https://github.com/vrun545.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Overview\n\nWelcome to the \"RESTful APIs with ExpressJS and MongoDB - A Complete Guide\" project! This repository serves as a comprehensive resource for developers looking to build RESTful APIs using ExpressJS and MongoDB, following the MVC (Model-View-Controller) pattern.\n\n## Introduction\n\nThis project aims to provide a hands-on guide to creating robust RESTful APIs using the popular Node.js framework, ExpressJS, and the NoSQL database MongoDB. The use of the MVC pattern ensures a modular and maintainable codebase, making it easy for developers to understand and extend the functionality.\n\n## Features\n\n- **ExpressJS:** Utilize the power of ExpressJS to create a scalable and efficient server for your RESTful APIs.\n- **MongoDB:** Leverage MongoDB for data storage, taking advantage of its flexibility and scalability for handling large datasets.\n- **MVC Pattern:** Implement a clean and organized code structure following the Model-View-Controller pattern for better code maintainability and separation of concerns.\n- **CRUD Operations:** Learn how to perform Create, Read, Update, and Delete operations on your MongoDB database through the API.\n- **Middleware:** Explore the use of middleware in ExpressJS for handling task logs of Request and Response made to the server.\n\n## Prerequisites\n\nBefore you begin, ensure you have the following installed:\n\n- Node.js and npm\n- MongoDB\n- Code editor of your choice (e.g., Visual Studio Code)\n\n## Getting Started\n\n1. Clone the repository:\n\n```git\ngit clone https://github.com/vrun545/RESTfull-API-using-MongoDB-and-MVC-Pattern.git\n```\n\n2. Install dependencies:\n\nnpm install\n```\n\n3. Configure the MongoDB connection in the `connection.js` file.\n\n4. Start the server:\n\n```git\nnodemon index.js\n```\n\nVisit `http://localhost:3000` in your browser to access the API.\n\n## Project Structure\n\nThe project follows a standard MVC pattern:\n\n```\n.\n├── controllers\n│   ├── user.js\n├── models\n│   ├── user.js\n├── routes\n│   ├── user.js\n├── connection.js\n├── middleware\n│   └── index.js\n├── index.js\n└── README.md\n```\n\n## Dependencies\n\n- Express\n- Mongoose\n- Body-parser\n- ...\n\nFor a complete list of dependencies, refer to the `package.json` file.\n\n## Usage\n\nDetailed usage instructions and examples can be found in the [documentation](docs/).\n\n## Contributing\n\nContributions are welcome! Please check the [contribution guidelines](CONTRIBUTING.md) before submitting a pull request.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvrun545%2Frestfull-api-using-mongodb-and-mvc-pattern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvrun545%2Frestfull-api-using-mongodb-and-mvc-pattern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvrun545%2Frestfull-api-using-mongodb-and-mvc-pattern/lists"}