{"id":14956736,"url":"https://github.com/maniruzzamanakash/node-advanced-crud-api","last_synced_at":"2025-10-24T10:31:02.151Z","repository":{"id":90186510,"uuid":"388917477","full_name":"ManiruzzamanAkash/Node-Advanced-CRUD-API","owner":"ManiruzzamanAkash","description":"An advanced CRUD API for Node JS \u0026 Express implementing with MVC pattern and many more standards...","archived":false,"fork":false,"pushed_at":"2021-08-27T15:00:08.000Z","size":84,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-29T09:44:55.583Z","etag":null,"topics":["api-validator","crudapi","expressapi","expressjs","mongodb-database","mvc-api","mvc-architecture","node","nodejs-api","nodejsapi","todoapi"],"latest_commit_sha":null,"homepage":"https://node-cruds-api.herokuapp.com/","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/ManiruzzamanAkash.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}},"created_at":"2021-07-23T20:21:33.000Z","updated_at":"2024-05-10T04:18:47.000Z","dependencies_parsed_at":"2023-07-21T02:16:57.046Z","dependency_job_id":null,"html_url":"https://github.com/ManiruzzamanAkash/Node-Advanced-CRUD-API","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ManiruzzamanAkash%2FNode-Advanced-CRUD-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ManiruzzamanAkash%2FNode-Advanced-CRUD-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ManiruzzamanAkash%2FNode-Advanced-CRUD-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ManiruzzamanAkash%2FNode-Advanced-CRUD-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ManiruzzamanAkash","download_url":"https://codeload.github.com/ManiruzzamanAkash/Node-Advanced-CRUD-API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237950826,"owners_count":19392666,"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":["api-validator","crudapi","expressapi","expressjs","mongodb-database","mvc-api","mvc-architecture","node","nodejs-api","nodejsapi","todoapi"],"created_at":"2024-09-24T13:13:25.240Z","updated_at":"2025-10-24T10:30:56.845Z","avatar_url":"https://github.com/ManiruzzamanAkash.png","language":"JavaScript","funding_links":["https://www.patreon.com/maniruzzaman"],"categories":[],"sub_categories":[],"readme":"## Advance CRUD API with Node JS \u0026 Express\n\nAn advanced CRUD API for Node JS implementing with MVC pattern and many more standards...\n\n---\n\n### Technologies \u0026amp; Featuers:\n1. MongoDB\n1. Mongoose\n1. Express JS\n1. Node JS\n1. MVC (Model-View-Controller) Pattern\n1. Schema Validation\n1. Form Validation\n\n### How to Run:\n\n#### Install NPM\n```bash\nnpm i\n```\n\n#### Create `.env` file by copying `.env.example`\n```bash\nMONGODB_DEFAULT_DB=\nMONGODB_CLUSTER=\nMONGODB_USERNAME=\nMONGODB_PASSWORD=\n```\n\n#### Run Project with nodemon setup (Watch any changes)\n```bash\nnpm run dev\n```\n\n\u003cbr /\u003e\n\n\n#### Postman API Link\n\u003ca href=\"https://www.getpostman.com/collections/058c397fd09ae4cf3a9c\" target=\"_blacnk\"\u003ehttps://www.getpostman.com/collections/058c397fd09ae4cf3a9c\u003c/a\u003e\n\n\n#### Live Web API Demo Links at a glance\n1. Base URL - https://node-cruds-api.herokuapp.com/\n1. All Todos - https://node-cruds-api.herokuapp.com/todos\n1. Single Todos - https://node-cruds-api.herokuapp.com/todos/60fb121b55e09ca6e646e93e\n1. Post API - https://node-cruds-api.herokuapp.com/todos [Body dataset Read below]\n1. Put API - https://node-cruds-api.herokuapp.com/todos/60fb121b55e09ca6e646e93e [Body dataset Read below]\n1. Delete API - https://node-cruds-api.herokuapp.com/todos/60fb121b55e09ca6e646e93e [Body dataset Read below]\n1. Delete All API - https://node-cruds-api.herokuapp.com/todos [Body dataset Read below]\n\n\n\n\n#### Todo List\nURL: http://localhost:3000/todos\nMethod: `GET`\n\n\u003cdiv\u003eResponse: \u003cbr\u003e\n\n```js\n[\n  {\n    \"_id\": \"60fadbf0fb1e9926fb60c07d\",\n    \"title\": \"First todo\",\n    \"status\": \"Done\"\n  },\n  {\n    \"_id\": \"60fadfc796dbc5f55f4adbe0\",\n    \"title\": \"Another task\",\n    \"status\": \"Pending\"\n  }\n]\n```\n\u003ch3\u003eTodo Detail: \u003c/h3\u003e\u003cp\u003eEndpoint: \u003ccode\u003ehttp://localhost:3000/todos/60fadbf0fb1e9926fb60c07d\u003c/code\u003e\u003c/p\u003e\u003cp\u003eMethod: \u003ccode\u003eGET\u003c/code\u003e\u003c/p\u003e\n\n\u003cdiv\u003eResponse: \u003cbr\u003e\n\n```js\n{\n  \"_id\": \"60fadbf0fb1e9926fb60c07d\",\n  \"title\": \"First todo\",\n  \"status\": \"Done\"\n}\n```\n\n\u003ch3\u003eTodo Create: \u003c/h3\u003e\u003cp\u003eEndpoint: \u003ccode\u003ehttp://localhost:3000/todos\u003c/code\u003e\u003c/p\u003e\u003cp\u003eMethod: \u003ccode\u003ePOST\u003c/code\u003e\u003c/p\u003e\n\n\u003cdiv\u003eBody: \u003cbr\u003e\n\n```js\n{\n  \"title\": \"Demo Todo 1\",\n  \"status\": \"Pending\"\n}\n```\n\n\u003cdiv\u003eResponse: \u003cbr\u003e\n\n```js\n{\n  \"_id\": \"60fb0e8bd8cd4f9cb52910a0\",\n  \"title\": \"Demo Todo 1\",\n  \"status\": \"Pending\",\n  \"createdAt\": \"2021-07-23T18:46:35.288Z\",\n  \"updatedAt\": \"2021-07-23T18:46:35.288Z\",\n  \"__v\": 0\n}\n```\n\n\u003cdiv\u003e\u003ch3\u003eTodo Update: \u003c/h3\u003e\u003cp\u003eEndpoint: \u003ccode\u003ehttp://localhost:3000/todos/60fadbf0fb1e9926fb60c07d\u003c/code\u003e\u003c/p\u003e\u003cp\u003eMethod: \u003ccode\u003ePUT\u003c/code\u003e\u003c/p\u003e\n\n\u003cdiv\u003eBody: \u003cbr\u003e\n\n```js\n{\n  \"title\": \"Demo Todo 1 Updated\",\n  \"status\": \"Done\"\n}\n```\n\n\u003c/div\u003e\u003cdiv\u003eResponse: \u003cbr /\u003e\n\n```js\n{\n  \"message\": \"Todo has been updated successfully !\",\n  \"data\": {\n    \"_id\": \"60fadbf0fb1e9926fb60c07d\",\n    \"title\": \"Demo Todo 1 Updated\",\n    \"createdAt\": \"2021-07-23T17:54:04.823Z\",\n    \"updatedAt\": \"2021-07-23T18:54:12.279Z\",\n    \"__v\": 0,\n    \"status\": \"Done\"\n  }\n}\n```\n\n\u003cdiv\u003e\u003ch3\u003eTodo Delete: \u003c/h3\u003e\u003cp\u003eEndpoint: \u003ccode\u003ehttp://localhost:3000/todos/60fadbf0fb1e9926fb60c07d\u003c/code\u003e\u003c/p\u003e\u003cp\u003eMethod: \u003ccode\u003eDELETE\u003c/code\u003e\u003c/p\u003e\n\n\u003cdiv\u003eResponse: \u003cbr\u003e\n\n```js\n{\n  \"message\": \"Todo has been deleted successfully !\",\n  \"data\": {\n    \"_id\": \"60fb139e55e09ca6e646e947\",\n    \"title\": \"Test Todo\",\n    \"status\": \"Done\",\n    \"createdAt\": \"2021-07-23T19:08:14.137Z\",\n    \"updatedAt\": \"2021-07-23T19:08:14.137Z\",\n    \"__v\": 0\n  }\n}\n```\n\n\u003c/div\u003e\u003cdiv\u003e\u003ch3\u003eTodo Delete All: \u003c/h3\u003e\u003cp\u003eEndpoint: \u003ccode\u003ehttp://localhost:3000/todos\u003c/code\u003e\u003c/p\u003e\u003cp\u003eMethod: \u003ccode\u003eDELETE\u003c/code\u003e\u003c/p\u003e\n\n\u003cdiv\u003eResponse: \u003cbr\u003e\n\n```js\n{\n  \"message\": \"7 Todos have been deleted successfully !\"\n}\n```\n\n\n#### Contribution:\n\n1. Create Pull-Request to contribute this Todo API\n\n\n#### Contact:\n\nmanirujjamanakash@gmail.com\n\n\n#### Donate:\nPatreon Link - https://www.patreon.com/maniruzzaman\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaniruzzamanakash%2Fnode-advanced-crud-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaniruzzamanakash%2Fnode-advanced-crud-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaniruzzamanakash%2Fnode-advanced-crud-api/lists"}