{"id":19561714,"url":"https://github.com/yuvraj0028/node-task-manager-api","last_synced_at":"2026-05-03T15:35:14.994Z","repository":{"id":212772029,"uuid":"730309717","full_name":"yuvraj0028/node-task-manager-api","owner":"yuvraj0028","description":"The node-task-manager-api is a RESTful API built using Node.js and MongoDB ODM with Mongoose. It supports user authentication with email and password, image upload, email notifications, and task CRUD operations.","archived":false,"fork":false,"pushed_at":"2023-12-16T06:27:39.000Z","size":147,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-04T19:36:20.740Z","etag":null,"topics":["api","email-sender","javascript","mongodb","nodejs","postman","rest-api","task-manager"],"latest_commit_sha":null,"homepage":"https://task-app-api-cgm1.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/yuvraj0028.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}},"created_at":"2023-12-11T16:39:56.000Z","updated_at":"2024-02-25T01:17:15.000Z","dependencies_parsed_at":"2023-12-16T07:45:29.116Z","dependency_job_id":"7ce46efd-bd81-4aca-becc-d5a160c5b388","html_url":"https://github.com/yuvraj0028/node-task-manager-api","commit_stats":null,"previous_names":["yuvraj0028/node-task-manager-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yuvraj0028/node-task-manager-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuvraj0028%2Fnode-task-manager-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuvraj0028%2Fnode-task-manager-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuvraj0028%2Fnode-task-manager-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuvraj0028%2Fnode-task-manager-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuvraj0028","download_url":"https://codeload.github.com/yuvraj0028/node-task-manager-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuvraj0028%2Fnode-task-manager-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32575112,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: 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":["api","email-sender","javascript","mongodb","nodejs","postman","rest-api","task-manager"],"created_at":"2024-11-11T05:12:23.638Z","updated_at":"2026-05-03T15:35:14.976Z","avatar_url":"https://github.com/yuvraj0028.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-task-manager-api\n\nThe node-task-manager-api is a RESTful API built using Node.js and MongoDB ODM with Mongoose. It supports user authentication with email and password, image upload, email notifications, and task CRUD operations.\n\n## Features\n\n- User authentication with JWT and bcrypt\n- Image upload with multer and sharp\n- Email notifications with sendgrid\n- Task CRUD operations with MongoDB and Mongoose\n- Validation and error handling with express-validator and custom middleware\n- Testing with jest and supertest\n\n## Installation\n\nTo run this project locally, you need to have Node.js and MongoDB installed on your machine.\n\n1. Clone this repository: `git clone https://github.com/yuvraj0028/node-task-manager-api.git`\n2. Install the dependencies: `npm install`\n3. Create a `.env` file in the root directory and add the following variables:\n\n- PORT=3000\n\n- MONGODB_URL=mongodb://127.0.0.1:27017/task-manager-api\n\n- JWT_SECRET=your_jwt_secret\n\n- SENDGRID_API_KEY=your_sendgrid_api_key\n\n4. Start the server: `npm run dev`\n5. Use Postman or any other API client to test the endpoints.\n\n## Endpoints\n\nThe API has the following endpoints:\n\n- POST /users: Create a new user\n- POST /users/login: Login a user\n- POST /users/logout: Logout a user\n- POST /users/logoutAll: Logout a user from all devices\n- GET /users/me: Get the profile of the current user\n- PATCH /users/me: Update the profile of the current user\n- DELETE /users/me: Delete the profile of the current user\n- POST /users/me/avatar: Upload an avatar for the current user\n- DELETE /users/me/avatar: Delete the avatar of the current user\n- GET /users/:id/avatar: Get the avatar of a user by id\n- POST /tasks: Create a new task for the current user\n- GET /tasks: Get all the tasks of the current user\n- GET /tasks/:id: Get a task by id\n- PATCH /tasks/:id: Update a task by id\n- DELETE /tasks/:id: Delete a task by id\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuvraj0028%2Fnode-task-manager-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuvraj0028%2Fnode-task-manager-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuvraj0028%2Fnode-task-manager-api/lists"}