{"id":18344108,"url":"https://github.com/alin00r/task-manager-api","last_synced_at":"2026-04-08T20:47:16.892Z","repository":{"id":222229770,"uuid":"756636695","full_name":"alin00r/Task-Manager-API","owner":"alin00r","description":" REST-API Task Manager APP","archived":false,"fork":false,"pushed_at":"2024-02-13T16:48:43.000Z","size":304,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T22:43:16.281Z","etag":null,"topics":["bycrypt","dotenv","expressjs","jest","jsonwebtoken","mongodb","mongoose","multer","nodejs","resend","rest-api","sharp","superagent"],"latest_commit_sha":null,"homepage":"https://task-manager-api-t434.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/alin00r.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-02-13T02:03:50.000Z","updated_at":"2024-02-13T04:28:26.000Z","dependencies_parsed_at":"2024-02-13T03:51:33.584Z","dependency_job_id":"1d488023-bc84-489a-bc1a-fd26e9ec38c4","html_url":"https://github.com/alin00r/Task-Manager-API","commit_stats":null,"previous_names":["alin00r/task-manager-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alin00r/Task-Manager-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alin00r%2FTask-Manager-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alin00r%2FTask-Manager-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alin00r%2FTask-Manager-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alin00r%2FTask-Manager-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alin00r","download_url":"https://codeload.github.com/alin00r/Task-Manager-API/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alin00r%2FTask-Manager-API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31573788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"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":["bycrypt","dotenv","expressjs","jest","jsonwebtoken","mongodb","mongoose","multer","nodejs","resend","rest-api","sharp","superagent"],"created_at":"2024-11-05T21:04:52.767Z","updated_at":"2026-04-08T20:47:16.877Z","avatar_url":"https://github.com/alin00r.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# Task-Manager-API\r\n  \r\n## Introduction 🌟\r\nWelcome to My REST-API! This API is designed to provide a seamless experience for users who love to manage tasks efficiently.\r\n\r\n## Technologies 🚀\r\n\r\n- Node.js\r\n- Express.js\r\n- MongoDB\r\n- Mongoose\r\n- JSON Web Token (JWT)\r\n- bcrypt\r\n- resend\r\n- sharp\r\n- Multer\r\n- Jest\r\n\r\n## Features ✨\r\n\r\n- [x] User Authentication: Allow users to sign up and log in.\r\n- [x] Profile Management: Users can update their profile details and change their password.\r\n- [x] Task Management: Implement CRUD operations for tasks, including marking tasks as completed.\r\n- [x] File Upload: Allow users to upload a profile picture/avatar.\r\n- [x] Email Service: Send welcome and cancellation emails to users.\r\n- [x] Testing: Write tests for critical functionalities.\r\n- [x] Documentation: Provide setup instructions and API documentation.\r\n\r\nThis concise list captures the main features of your app in a clear and easy-to-understand format.\r\n\r\n## Setting Up Your Local Environment\r\n\r\nFollow these steps to set up your local environment for the Natours app:\r\n\r\n1. **Clone the Repository:**\r\n   Clone this repository to your local machine:\r\n   ```bash\r\n   git clone https://github.com/alin00r/Task-Manager-API.git\r\n   cd Task-Manager-API\r\n   ```\r\n2. **Install Dependencies:**\r\n   Run the following command to install all the required dependencies:\r\n   ```bash\r\n   npm install\r\n   ```\r\n3. **Configure Environment Variables:**\r\n\r\n   Before you can run the Task-Manager-API app, you need to set up your environment variables. These variables store sensitive information required for the app to function properly. Follow these steps to configure your environment variables:\r\n\r\n   1. **Create a `.env` File:**\r\n      In the root directory of the app, create a file named `.env`.\r\n\r\n   2. **Add the Following Environment Variables:**\r\n      Replace the placeholders with your actual information. You might need to sign up for accounts and services to obtain the required credentials.\r\n\r\n      ```dotenv\r\n\r\n      # MongoDB Configuration\r\n      MONGO_URI_ATLAS=your-mongodb-database-url\r\n\r\n      # JSON Web Token Configuration\r\n      JWT_SECRET=your-json-web-token-secret\r\n\r\n      ```\r\n# Endpoints\r\n## Auth Endpoints\r\n```POST``` ```/users/signup```\r\n\r\n```POST``` ```/users/login```\r\n\r\n```POST``` ```/users/logout```\r\n\r\n```POST``` ```/users/logoutAll```\r\n\r\n## Users Endpoints\r\n```GET``` ```/users/me```\r\n\r\n```DELETE``` ```/users/me```\r\n\r\n```PATCH``` ```/users/me```\r\n\r\n```GET``` ```/users/:id/avatar```\r\n\r\n```POST``` ```/upload/me/avatar```\r\n\r\n```DELETE``` ```/upload/me/avatar```\r\n\r\n## Task Endpoints\r\n```POST``` ```/task```\r\n\r\n```GET``` ```/tasks```\r\n\r\n```GET``` ```/tasks/:id```\r\n\r\n```PATCH``` ```/tasks/:id```\r\n\r\n```DELETE``` ```/tasks/:id```\r\n\r\n\r\n# API reference\r\n\r\nDuring API development, I use `Postman` for handling/testing all endpoints.\r\n\r\n- Postman collection/documentation is available on this link [click here](https://documenter.getpostman.com/view/28708948/2sA2r3b7CB)\r\n- Base URL endpoints: `http://127.0.0.1:3000/` or `http://localhost:3000/`\r\n\r\n\r\n\r\n- [Ali Nour](https://github.com/alin00r)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falin00r%2Ftask-manager-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falin00r%2Ftask-manager-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falin00r%2Ftask-manager-api/lists"}