{"id":17831589,"url":"https://github.com/rajeshkumar7678/task_management_api","last_synced_at":"2026-04-11T06:02:04.169Z","repository":{"id":198869819,"uuid":"701213157","full_name":"rajeshkumar7678/Task_management_api","owner":"rajeshkumar7678","description":"This is a RESTful API for managing tasks. Users can create, retrieve, update, and delete tasks. It also includes optional features like authentication and rate limiting.","archived":false,"fork":false,"pushed_at":"2023-10-07T09:50:41.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T12:31:08.719Z","etag":null,"topics":["bcrypt","dotenv","express-js","express-rate-limit","jsonwebtoken","node-js","nodemon"],"latest_commit_sha":null,"homepage":"","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/rajeshkumar7678.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-10-06T07:02:39.000Z","updated_at":"2023-10-07T09:55:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"8774f3a1-7999-41dd-9841-7a09f6e9fd98","html_url":"https://github.com/rajeshkumar7678/Task_management_api","commit_stats":null,"previous_names":["rajeshkumar7678/task_management_api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rajeshkumar7678/Task_management_api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajeshkumar7678%2FTask_management_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajeshkumar7678%2FTask_management_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajeshkumar7678%2FTask_management_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajeshkumar7678%2FTask_management_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rajeshkumar7678","download_url":"https://codeload.github.com/rajeshkumar7678/Task_management_api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajeshkumar7678%2FTask_management_api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265586019,"owners_count":23792835,"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":["bcrypt","dotenv","express-js","express-rate-limit","jsonwebtoken","node-js","nodemon"],"created_at":"2024-10-27T19:47:35.042Z","updated_at":"2025-12-30T22:07:11.128Z","avatar_url":"https://github.com/rajeshkumar7678.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Task Management API\nThis is a RESTful API for managing tasks. Users can create, retrieve, update, and delete tasks. It also includes optional features like authentication and rate limiting.\n\n## Table of Contents\n\n- [Getting Started](#getting-started)\n  - [Prerequisites](#prerequisites)\n  - [Installation](#installation)\n- [Usage](#usage)\n  - [Running the API](#running-the-api)\n  - [Endpoints](#endpoints)\n- [Authentication ](#authentication)\n- [Rate Limiting ](#rate-limiting)\n- [Testing](#testing)\n  - [Postman Collections](#postman-collections)\n- [Challenges and Decisions](#challenges-and-decisions)\n- [Future Improvements](#future-improvements)\n\n## Getting Started\n\n### Prerequisites\n\nBefore you begin, ensure you have met the following requirements:\n\n- Node.js and npm installed.\n- A database (e.g., MongoDB) configured and accessible.\n\n### Installation\n\n1. Clone this repository:\n\n   ```bash\n   git clone \u003crepository_url\u003e\n   cd task-management-api\n   ```\n 2. Install dependencies:\n    ```bash\n    npm install\n    ```\n## Usage\n\n 1. Running the API:\n    ```bash\n    npm run server\n    ```\n    The API will be accessible at http://localhost:9001 by default. You can configure the port and other settings in the .env file.\n    \n1. Endpoints:\n    - POST /tasks: Add a new task.\n    - GET /tasks: Retrieve a list of all tasks.\n    - GET /tasks/:id: Retrieve a specific task by ID.\n    - PUT /tasks/:id: Update a specific task by ID.\n    - DELETE /tasks/:id: Delete a specific task by ID.\n    - POST/user/register: Add a new user\n    - POST/user/login: login user to Api\n\n## Authentication:\n\u003e To use authentication, you must register and log in to manage tasks. Protected  endpoints require authentication.\n\n## Rate Limiting:\n\u003eRate limiting is in place to restrict clients from making too many requests in a short period.\n\n## Testing:\n\u003eYou can use Postman to test the API. Import the provided Postman collection to get started:\n [click here ](https://github.com/rajeshkumar7678/Task_management_api/blob/main/thunder-collection_task_management%20_api.json)\n\n## Challenges and Decisions:\n- Rate Limiting:\n    Challenge: Implementing rate limiting to prevent abuse and protect the API from\n    excessive requests.Decision: You mentioned implementing rate limiting as a bonus feature, which is a good decision to protect your API from abuse. You can use middleware like express-rate-limit to achieve this, as explained in a previous response.\n\n\u003ch1 align=\"center\"\u003e✨Thank You✨\u003c/h1\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajeshkumar7678%2Ftask_management_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frajeshkumar7678%2Ftask_management_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajeshkumar7678%2Ftask_management_api/lists"}