{"id":28397925,"url":"https://github.com/gh-aam/task-management-api-3","last_synced_at":"2026-04-07T09:31:59.028Z","repository":{"id":296550588,"uuid":"993765237","full_name":"gh-aam/task-management-api-3","owner":"gh-aam","description":"A simple task management (RESTful) API built with Express.js and MongoDB.","archived":false,"fork":false,"pushed_at":"2025-05-31T17:24:22.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-19T19:52:14.941Z","etag":null,"topics":["dotenv","express","express-js","express-middleware","expressjs","javascript","mongodb","mongodb-database","mongoosejs","node"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gh-aam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2025-05-31T13:27:44.000Z","updated_at":"2025-05-31T17:30:08.000Z","dependencies_parsed_at":"2025-06-01T01:50:44.190Z","dependency_job_id":"169f90a8-0237-4252-9c16-3207f4852d4c","html_url":"https://github.com/gh-aam/task-management-api-3","commit_stats":null,"previous_names":["gh-aam/task-management-api-3"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gh-aam/task-management-api-3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh-aam%2Ftask-management-api-3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh-aam%2Ftask-management-api-3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh-aam%2Ftask-management-api-3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh-aam%2Ftask-management-api-3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gh-aam","download_url":"https://codeload.github.com/gh-aam/task-management-api-3/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh-aam%2Ftask-management-api-3/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31508007,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["dotenv","express","express-js","express-middleware","expressjs","javascript","mongodb","mongodb-database","mongoosejs","node"],"created_at":"2025-06-01T03:09:38.350Z","updated_at":"2026-04-07T09:31:59.012Z","avatar_url":"https://github.com/gh-aam.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# task-management-api-3\nA simple and modular RESTful API for managing tasks, built with **Express.js** and **MongoDB**.\n\n## Features\n- Create, read, update, and delete tasks (CRUD)\n- Pagination support for task listing\n- Search tasks by title (case-insensitive)\n- Data validation and offensive language filtering\n- Modular route and error handler structure\n- Environment-based configuration\n- Graceful shutdown with MongoDB disconnection\n\n## Technologies Used\n- Node.js\n- Express.js\n- MongoDB + Mongoose\n- dotenv\n\n## Installation \u0026 Usage\nClone the repository:\n```bash\ngit clone https://github.com/gh-aam/task-management-api-3.git\n```\nGo to project directory:\n```bash\ncd task-management-api-3\n```\nInstall dependencies:\n```bash\nnpm install\n```\nCreate a `.env` file in the root:\n```bash\nMONGODB_URI=mongodb://localhost:27017/your_mongodb_database_name\nMONGODB_USER=your_mongodb_user_name\nMONGODB_PASS=your_mongodb_password\nEXPRESS_PORT=3000\nOFFENSIVE_WORDS=offword1,offword2,offword3\n```\nStart the server:\n```bash\nnpm start\n```\n\n## API Endpoints\n### Base URL\nhttp://localhost:3000\n### Routes\n`GET /`: Welcome message   \n`POST /tasks`: Create a new task   \n`GET /tasks`: Get all tasks with pagination   \n`GET /tasks/search`: Search tasks by title (case-insensitive)   \n`GET /tasks/:id`: Get a specific task by ID   \n`PUT /tasks/:id`: Update an existing task by ID   \n`DELETE /tasks/:id`: Delete a task by ID\n### Query Parameters\n`page`: Page number (default: 1)   \n`limit`: Items per page (default: 10)   \n`title`: Search query for task title","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgh-aam%2Ftask-management-api-3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgh-aam%2Ftask-management-api-3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgh-aam%2Ftask-management-api-3/lists"}