{"id":26951577,"url":"https://github.com/leeandri/nod3js-usertask-api","last_synced_at":"2026-04-11T19:02:06.073Z","repository":{"id":285579912,"uuid":"956080683","full_name":"leeandri/nod3js-usertask-api","owner":"leeandri","description":" RESTful API built for managing users and task","archived":false,"fork":false,"pushed_at":"2025-04-06T18:36:35.000Z","size":316,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-03T13:20:54.789Z","etag":null,"topics":["express-js","file-upload","jwt","mongodb","mongoose","node-js","nodemailer","postman"],"latest_commit_sha":null,"homepage":"https://nod3js-usertask-api.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/leeandri.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":"2025-03-27T17:03:30.000Z","updated_at":"2025-04-06T18:41:23.000Z","dependencies_parsed_at":"2025-04-01T15:29:07.937Z","dependency_job_id":"f1df9031-521c-490e-b4a5-069285f6e53c","html_url":"https://github.com/leeandri/nod3js-usertask-api","commit_stats":null,"previous_names":["leeandri/nod3js-usertask-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/leeandri/nod3js-usertask-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leeandri%2Fnod3js-usertask-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leeandri%2Fnod3js-usertask-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leeandri%2Fnod3js-usertask-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leeandri%2Fnod3js-usertask-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leeandri","download_url":"https://codeload.github.com/leeandri/nod3js-usertask-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leeandri%2Fnod3js-usertask-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31691503,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","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":["express-js","file-upload","jwt","mongodb","mongoose","node-js","nodemailer","postman"],"created_at":"2025-04-03T00:16:34.397Z","updated_at":"2026-04-11T19:02:06.046Z","avatar_url":"https://github.com/leeandri.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# User Task API\n\nA RESTful API built with Node.js for managing users and tasks. This API supports operations such as creating, reading, updating, and deleting users and tasks.\n\n## Tech Stack\n\n- **Backend**: Node.js, Express.js\n- **Database**: MongoDB (Atlas), Mongoose\n- **Authentication**: JSON Web Tokens (JWT)\n- **File Upload**: Multer, Sharp\n- **Deployment**: Render\n\n## API Endpoints\n\n### Users\n\n- **POST `/users`**: Register a new user\n- **POST `/users/login`**: Log in a user\n- **POST `/users/logout`**: Log out the current session\n- **POST `/users/logoutAll`**: Log out all sessions\n- **GET `/users/me`**: Fetch the current user's profile\n- **PATCH `/users/me`**: Update user profile\n- **DELETE `/users/me`**: Delete user account\n- **POST `/users/me/avatar`**: Upload profile picture  \n  _To upload an image, use `form-data` with key `avatar` (type: File)_\n- **DELETE `/users/me/avatar`**: Delete profile picture\n- **GET `/users/:id/avatar`**: View user profile picture\n\n### Tasks\n\n- **POST `/tasks`**: Create a new task\n- **GET `/tasks`**: Fetch all tasks\n- **GET `/tasks/:id`**: Fetch a task by ID\n- **PATCH `/tasks/:id`**: Update a task by ID\n- **DELETE `/tasks/:id`**: Delete a task by ID\n\n## Getting Started\n\n1. Clone the repository: `git clone \u003crepository-url\u003e`\n2. Install dependencies: `npm install`\n3. Start the server: `npm run start`\n4. API available at: `https://nod3js-usertask-api.onrender.com`\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleeandri%2Fnod3js-usertask-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleeandri%2Fnod3js-usertask-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleeandri%2Fnod3js-usertask-api/lists"}