{"id":19002823,"url":"https://github.com/moaraby/to-do-list-nodejs","last_synced_at":"2026-04-12T03:34:41.852Z","repository":{"id":233112904,"uuid":"785882532","full_name":"MoARABY/to-do-list-nodeJS","owner":"MoARABY","description":"REST API APP","archived":false,"fork":false,"pushed_at":"2024-04-13T10:38:10.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-01T18:43:31.342Z","etag":null,"topics":["docker","dotenv","error-handler","expressjs","mongodb","mongoose","nodejs","nodemon","restful-api"],"latest_commit_sha":null,"homepage":"https://to-do-list-nodejs-zwux.onrender.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/MoARABY.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":"2024-04-12T20:38:48.000Z","updated_at":"2024-04-13T11:15:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"fdb49d4a-1ea7-4a02-b7db-d9f90c29e385","html_url":"https://github.com/MoARABY/to-do-list-nodeJS","commit_stats":null,"previous_names":["moaraby/to-do-list-nodejs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoARABY%2Fto-do-list-nodeJS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoARABY%2Fto-do-list-nodeJS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoARABY%2Fto-do-list-nodeJS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoARABY%2Fto-do-list-nodeJS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MoARABY","download_url":"https://codeload.github.com/MoARABY/to-do-list-nodeJS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240027398,"owners_count":19736209,"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":["docker","dotenv","error-handler","expressjs","mongodb","mongoose","nodejs","nodemon","restful-api"],"created_at":"2024-11-08T18:16:48.683Z","updated_at":"2026-04-12T03:34:36.832Z","avatar_url":"https://github.com/MoARABY.png","language":"JavaScript","readme":"\u003ch1\u003etoDoList - Backend\u003c/h1\u003e  \nThis repository contains the backend code for a toDoList built using Node.js, Express, and MongoDB.\n\n\u003ch2\u003eFeatures\u003c/h2\u003e \nCRUD operations for managing tasks\nMiddleware for request validation and error handling\nSeparation of concerns using controllers, models, and routes\n\n\u003ch2\u003eTechnologies Used\u003c/h2\u003e \n\u003cul\u003e\n  \u003cli\u003eNode.js\u003c/li\u003e\n  \u003cli\u003eExpress.js\u003c/li\u003e\n  \u003cli\u003eDocker\u003c/li\u003e\n  \u003cli\u003eMongoDB\u003c/li\u003e\n  \u003cli\u003edotenv\u003c/li\u003e\n  \u003cli\u003eexpress-async-handler\u003c/li\u003e\n  \u003cli\u003emongoose\u003c/li\u003e\n  \u003cli\u003enodemon\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003eSetup Instructions\u003c/h2\u003e\n\n\u003cul\u003e\n  \u003cli\u003e \u003eClone the repository:\u003c/li\u003e\n  \u003cli\u003e \u003e\u003e bash\u003c/li\u003e\n  \u003cli\u003e \u003e\u003e git clone https://github.com/your-username/to-do-list-nodeJS.git\u003c/li\u003e\n\u003c/ul\u003e\n\nInstall dependencies:\n\u003cul\u003e\n  \u003cli\u003e \u003e bash\u003c/li\u003e\n  \u003cli\u003e \u003e cd contact-management-backend\u003c/li\u003e\n  \u003cli\u003e \u003e npm install\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003cul\u003e\n  \u003cli\u003e \u003e Create a .env file in the root directory.\u003c/li\u003e\n  \u003cli\u003e \u003e Add the following environment variables:\u003c/li\u003e\n  \u003cli\u003e \u003e\u003e makefile\u003c/li\u003e\n  \u003cli\u003e \u003e\u003e PORT=3000\u003c/li\u003e\n  \u003cli\u003e \u003e\u003e MONGODB_URI=your-mongodb-connection-string\u003c/li\u003e\n\u003c/ul\u003e\nConfigure environment variables:\n\u003cul\u003e\n  \u003cli\u003e \u003e Start the server:\u003c/li\u003e\n  \u003cli\u003e \u003e\u003e bash\u003c/li\u003e\n  \u003cli\u003e \u003e\u003e npm start\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003eAPI Endpoints\u003c/h2\u003e\n\u003cul\u003e\n  \u003cli\u003eGET /api/tasks: Get all tasks\u003c/li\u003e\n  \u003cli\u003ePOST /api/tasks: Create a new task\u003c/li\u003e\n  \u003cli\u003eGET /api/tasks/:id: Get a task by ID.\u003c/li\u003e\n  \u003cli\u003ePUT /api/tasks/:id: Update a task by ID.\u003c/li\u003e\n  \u003cliDELETE /api/tasks/:id: Delete a task by ID.\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003eFolder Structure\u003c/h2\u003e\n\u003cul\u003e\n  \u003cli\u003emiddlewares/: Custom middleware functions.\u003c/li\u003e\n  \u003cli\u003econtrollers/: Request handlers for each route.\u003c/li\u003e\n  \u003cli\u003emodels/: Mongoose schemas and models.\u003c/li\u003e\n  \u003cli\u003eroutes/: Express routes for different endpoints.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003eContributing\u003c/h2\u003e \nContributions are welcome! Please fork the repository and submit a pull request.\n\n\u003ch2\u003eLicense\u003c/h2\u003e \nThis project is licensed under the MIT License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoaraby%2Fto-do-list-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoaraby%2Fto-do-list-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoaraby%2Fto-do-list-nodejs/lists"}