{"id":23693209,"url":"https://github.com/jfelipearaujo/ignite-nodejs-desafio-01","last_synced_at":"2025-07-02T01:32:02.631Z","repository":{"id":203375053,"uuid":"619259717","full_name":"jfelipearaujo/ignite-nodejs-desafio-01","owner":"jfelipearaujo","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-26T18:36:27.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-22T10:56:38.573Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/jfelipearaujo.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-03-26T18:17:48.000Z","updated_at":"2023-03-26T18:25:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"6a1d3548-e3ef-4b28-bff0-656bbfcde72f","html_url":"https://github.com/jfelipearaujo/ignite-nodejs-desafio-01","commit_stats":null,"previous_names":["jfelipearaujo/ignite-nodejs-desafio-01"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jfelipearaujo/ignite-nodejs-desafio-01","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfelipearaujo%2Fignite-nodejs-desafio-01","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfelipearaujo%2Fignite-nodejs-desafio-01/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfelipearaujo%2Fignite-nodejs-desafio-01/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfelipearaujo%2Fignite-nodejs-desafio-01/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jfelipearaujo","download_url":"https://codeload.github.com/jfelipearaujo/ignite-nodejs-desafio-01/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfelipearaujo%2Fignite-nodejs-desafio-01/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263059835,"owners_count":23407416,"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":[],"created_at":"2024-12-30T03:50:07.080Z","updated_at":"2025-07-02T01:32:02.611Z","avatar_url":"https://github.com/jfelipearaujo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Challenge NodeJS 01\n\n## CRUD API to handle Tasks\n\nTo see the detailed routes, please follow the [server.rest](./src//server.rest) file.\n\nThis API provides the following routes:\n\n- Create a new task\n  ```javascript\n  POST /tasks\n\n  {\n    \"title\": \"Task title\",\n    \"description\": \"Task description\"\n  }\n\n  // Returns 201 - Task created successfully\n  ```\n\n- List all tasks\n  ```javascript\n    GET /tasks\n\n  // Returns 200 - Listing all tasks\n  ```\n  Query parameters:\n    - search: You could provide a title or description to filter the results\n\n- Update task\n  ```javascript\n  PUT /tasks/{taskId}\n\n  {\n    \"title\": \"Task title\",\n    \"description\": \"Task description\"\n  }\n\n  // Returns 204 - Task updated successfully\n  // Returns 400 - Invalid body request\n  // Returns 404 - Task not found\n  ```\n  Body parameters:\n    - You must provide the title or the description to be updated\n\n- Delete task\n  ```javascript\n  DELETE /tasks/{taskId}\n\n  // Returns 204 - Task deleted successfully\n  // Returns 404 - Task not found\n  ```\n- Complete task\n  ```javascript\n  PATCH /tasks/{taskId}/complete\n\n  // Returns 204 - Task completed/uncompleted successfully\n  // Returns 404 - Task not found\n  ```\n  Behavior:\n  - If the task has already been completed, it will be restored and the 'completed' datetime will be removed","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjfelipearaujo%2Fignite-nodejs-desafio-01","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjfelipearaujo%2Fignite-nodejs-desafio-01","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjfelipearaujo%2Fignite-nodejs-desafio-01/lists"}