{"id":19741896,"url":"https://github.com/rafa-kozand/ignite_node.js_challenge_09","last_synced_at":"2026-04-29T23:02:16.449Z","repository":{"id":117404598,"uuid":"604650487","full_name":"Rafa-KozAnd/Ignite_Node.js_Challenge_09","owner":"Rafa-KozAnd","description":"Node JS challenge done with 'Rocketseat' Ignite course. (\"Desafio 09 - Construindo com serverless\")","archived":false,"fork":false,"pushed_at":"2023-04-20T19:08:29.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-27T08:51:24.456Z","etag":null,"topics":["ignite","ignite-nodejs","ignite-rocketseat","javascript","nodejs","rocketseat","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Rafa-KozAnd.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":"2023-02-21T14:06:28.000Z","updated_at":"2023-04-20T19:06:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"c96f87a5-0ca7-416c-9600-47dd99c73e02","html_url":"https://github.com/Rafa-KozAnd/Ignite_Node.js_Challenge_09","commit_stats":null,"previous_names":["rafa-kozand/ignite_node.js_challenge_09"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Rafa-KozAnd/Ignite_Node.js_Challenge_09","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rafa-KozAnd%2FIgnite_Node.js_Challenge_09","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rafa-KozAnd%2FIgnite_Node.js_Challenge_09/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rafa-KozAnd%2FIgnite_Node.js_Challenge_09/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rafa-KozAnd%2FIgnite_Node.js_Challenge_09/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rafa-KozAnd","download_url":"https://codeload.github.com/Rafa-KozAnd/Ignite_Node.js_Challenge_09/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rafa-KozAnd%2FIgnite_Node.js_Challenge_09/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32447312,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"ssl_error","status_checked_at":"2026-04-29T22:10:49.234Z","response_time":110,"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":["ignite","ignite-nodejs","ignite-rocketseat","javascript","nodejs","rocketseat","typescript"],"created_at":"2024-11-12T01:28:20.860Z","updated_at":"2026-04-29T23:02:16.412Z","avatar_url":"https://github.com/Rafa-KozAnd.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"http://img.shields.io/static/v1?label=STATUS\u0026message=Concluded\u0026color=blue\u0026style=flat\"/\u003e\n  \u003cimg alt=\"GitHub language count\" src=\"https://img.shields.io/github/languages/count/Rafa-KozAnd/Ignite_Node.js_Challenge_09\"\u003e\n  \u003cimg alt=\"GitHub language count\" src=\"https://img.shields.io/github/languages/top/Rafa-KozAnd/Ignite_Node.js_Challenge_09\"\u003e\n  \u003cimg alt=\"GitHub repo file count\" src=\"https://img.shields.io/github/directory-file-count/Rafa-KozAnd/Ignite_Node.js_Challenge_09\"\u003e\n  \u003cimg alt=\"GitHub repo size\" src=\"https://img.shields.io/github/repo-size/Rafa-KozAnd/Ignite_Node.js_Challenge_09\"\u003e\n  \u003cimg alt=\"GitHub language count\" src=\"https://img.shields.io/github/license/Rafa-KozAnd/Ignite_Node.js_Challenge_09\"\u003e\n\u003c/p\u003e\n\n# Ignite_Node.js_Challenge_09\n\nNode JS challenge done with 'Rocketseat' Ignite course. (\"Desafio 09 - Construindo com serverless\")\n\n## 💻 Sobre o desafio\n\nNesse desafio você irá recriar uma parte da API de *todos* que foi desenvolvida no desafio [Conceitos do Node.js](https://www.notion.so/Desafio-01-Conceitos-do-Node-js-59ccb235aecd43a6a06bf09a24e7ede8) mas dessa vez deverá ser usado o framework [Serverless](https://www.serverless.com/).\n\nCada funcionalidade deverá ser criada em um arquivo de função separada de acordo com o que foi visto nesse último módulo.\nAs rotas que deverão existir são:\n\n**POST -** `/todos/{userid}`\n\n**GET-** `/todos/{userid}`\n\n### Sobre as rotas\n\n- **POST -** `/todos/{userid}`\n    \n    Essa rota deve receber o `id` de um usuário pelo `pathParameters` (você pode criar esse id manualmente apenas para preencher o campo) e os seguintes campos no corpo da requisição: `title` e `deadline`, onde `deadline` é a data limite para o *todo*.\n    \n    O *todo* deverá ser salvo com os seguintes campos no DynamoDB:\n    \n    { \n      id: 'uuid', // id gerado para garantir um único todo com o mesmo id\n      user_id: 'uuid' // id do usuário recebido no pathParameters\n      title: 'Nome da tarefa',\n      done: false, // inicie sempre como false\n      deadline: new Date(deadline)\n    }\n    \n    - **GET-** `/todos/{userid}`\n    \n    Essa rota deve receber o `id` de um usuário pelo `pathParameters` (o mesmo id que foi usado para criar algum *todo*).\n    \n    A rota deve retornar os *todos* que possuírem o `user_id` igual ao `id` recebido pelos parâmetros.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafa-kozand%2Fignite_node.js_challenge_09","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frafa-kozand%2Fignite_node.js_challenge_09","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafa-kozand%2Fignite_node.js_challenge_09/lists"}