{"id":27935213,"url":"https://github.com/lahi-ru/task-manager-api","last_synced_at":"2025-05-07T06:15:11.284Z","repository":{"id":289889511,"uuid":"972695353","full_name":"LAHI-RU/Task-Manager-API","owner":"LAHI-RU","description":"Build a REST API that allows users to create tasks, view their tasks, update their tasks, mark tasks as completed and delete tasks","archived":false,"fork":false,"pushed_at":"2025-05-06T02:00:45.000Z","size":3549,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-07T06:15:05.118Z","etag":null,"topics":["apidevelopment","task-management"],"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/LAHI-RU.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-04-25T13:58:43.000Z","updated_at":"2025-05-06T02:00:49.000Z","dependencies_parsed_at":"2025-04-25T16:34:50.082Z","dependency_job_id":null,"html_url":"https://github.com/LAHI-RU/Task-Manager-API","commit_stats":null,"previous_names":["lahi-ru/task-manager-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LAHI-RU%2FTask-Manager-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LAHI-RU%2FTask-Manager-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LAHI-RU%2FTask-Manager-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LAHI-RU%2FTask-Manager-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LAHI-RU","download_url":"https://codeload.github.com/LAHI-RU/Task-Manager-API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252824161,"owners_count":21809715,"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":["apidevelopment","task-management"],"created_at":"2025-05-07T06:15:10.706Z","updated_at":"2025-05-07T06:15:11.277Z","avatar_url":"https://github.com/LAHI-RU.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Task Manager API\n\nA simple REST API for managing tasks built with Node.js, Express, and MongoDB.\n\n## Features\n\n- Create, read, update, and delete tasks\n- Store tasks in MongoDB database\n- RESTful architecture\n\n## Technologies Used\n\n- Node.js\n- Express.js\n- MongoDB\n- Mongoose\n\n## Installation\n\n1. Clone this repository\n   ```\n   git clone https://github.com/yourusername/task-manager-api.git\n   ```\n\n2. Install dependencies\n   ```\n   cd task-manager-api\n   npm install\n   ```\n\n3. Create a `.env` file in the root directory\n   ```\n   PORT=5000\n   MONGO_URI=your_mongodb_connection_string\n   ```\n\n4. Start the server\n   ```\n   npm run dev\n   ```\n\n## API Endpoints\n\n| Method | Endpoint | Description |\n|--------|----------|-------------|\n| GET | /api/tasks | Get all tasks |\n| POST | /api/tasks | Create a new task |\n| GET | /api/tasks/:id | Get a specific task by ID |\n| PUT | /api/tasks/:id | Update a task |\n| DELETE | /api/tasks/:id | Delete a task |\n\n## Request Examples\n\n### Create a task\n```\nPOST /api/tasks\nContent-Type: application/json\n\n{\n  \"title\": \"Complete project\",\n  \"description\": \"Finish the task manager API project\"\n}\n```\n\n### Update a task\n```\nPUT /api/tasks/60d21b4667d0d8992e610c85\nContent-Type: application/json\n\n{\n  \"completed\": true\n}\n```\n\n## License\n\nMIT\n\n## Author\n\nLAHIRU\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flahi-ru%2Ftask-manager-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flahi-ru%2Ftask-manager-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flahi-ru%2Ftask-manager-api/lists"}