{"id":21766494,"url":"https://github.com/kastorcode/gostack-challenge-01","last_synced_at":"2026-04-15T18:02:40.203Z","repository":{"id":123500328,"uuid":"401104221","full_name":"kastorcode/gostack-challenge-01","owner":"kastorcode","description":"Challenge #1 of the Rocketseat GoStack Bootcamp: NodeJS Concepts.","archived":false,"fork":false,"pushed_at":"2021-08-29T17:48:45.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T05:27:42.462Z","etag":null,"topics":["backend","bootcamp","brazil","challenge","course","express","goiania","goias","gostack","javascript","matheus","nodejs","nodemon","oliveira","ramalho","rocketseat"],"latest_commit_sha":null,"homepage":"https://rocketseat.com.br","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/kastorcode.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":"2021-08-29T17:40:29.000Z","updated_at":"2021-08-29T18:15:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"d6da0fb4-ca50-419c-954f-0794eea75dee","html_url":"https://github.com/kastorcode/gostack-challenge-01","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kastorcode/gostack-challenge-01","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kastorcode%2Fgostack-challenge-01","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kastorcode%2Fgostack-challenge-01/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kastorcode%2Fgostack-challenge-01/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kastorcode%2Fgostack-challenge-01/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kastorcode","download_url":"https://codeload.github.com/kastorcode/gostack-challenge-01/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kastorcode%2Fgostack-challenge-01/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31853279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"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":["backend","bootcamp","brazil","challenge","course","express","goiania","goias","gostack","javascript","matheus","nodejs","nodemon","oliveira","ramalho","rocketseat"],"created_at":"2024-11-26T13:17:44.945Z","updated_at":"2026-04-15T18:02:40.193Z","avatar_url":"https://github.com/kastorcode.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## GoStack Bootcamp Challenge 1\n\u003e 🚀 Practical project of the [Rocketseat](https://rocketseat.com.br) GoStack Bootcamp.  \n👷 Developed by Matheus Ramalho de Oliveira.  \n🔨 Systems Analyst, Full-Stack Developer.  \n🏡 Goiânia, Goiás, Brasil.  \n✉️ kastorcode@gmail.com  \n👍 [instagram.com/kastorcode](https://www.instagram.com/kastorcode)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/gostack.png\" /\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    Challenge 1: NodeJS Concepts\n\u003c/p\u003e\n\n---\n\n## :rocket: Sobre o desafio\n\nCrie uma aplicação para armazenar projetos e suas tarefas do zero utilizando [Express](https://expressjs.com/pt-br/).\n\n### Rotas\n\n- `POST /projects`: A rota deve receber `id` e `title` dentro do corpo e cadastrar um novo projeto dentro de um array no seguinte formato: `{ id: \"1\", title: 'Novo projeto', tasks: [] }`; Certifique-se de enviar tanto o ID quanto o título do projeto no formato string com aspas duplas.\n\n- `GET /projects`: Rota que lista todos projetos e suas tarefas;\n\n- `PUT /projects/:id`: A rota deve alterar apenas o título do projeto com o `id` presente nos parâmetros da rota;\n\n- `DELETE /projects/:id`: A rota deve deletar o projeto com o `id` presente nos parâmetros da rota;\n\n- `POST /projects/:id/tasks`: A rota deve receber um campo `title` e armazenar uma nova tarefa no array de tarefas de um projeto específico escolhido através do `id` presente nos parâmetros da rota;\n\n### Exemplo\n\nSe eu chamar a rota `POST /projects` repassando `{ id: 1, title: 'Novo projeto' }` e a rota `POST /projects/1/tasks` com `{ title: 'Nova tarefa' }`, meu array de projetos deve ficar assim:\n\n```js\n[\n  {\n    id: \"1\",\n    title: \"Novo projeto\",\n    tasks: [\"Nova tarefa\"]\n  }\n];\n```\n\n### Middlewares\n\n- Crie um middleware que será utilizado em todas rotas que recebem o ID do projeto nos parâmetros da URL que verifica se o projeto com aquele ID existe. Se não existir retorne um erro, caso contrário permita a requisição continuar normalmente;\n\n- Crie um middleware global chamado em todas requisições que imprime (`console.log`) uma contagem de quantas requisições foram feitas na aplicação até então;\n\n---\n\n### 🗓 ️Roadmap\n- Introduction to Node.js\n- Creating Node.js project\n- Continuing Node.js project\n- CSS Flexbox\n- UI Design\n- Introduction to React\n- First project with ReactJS\n- First project with React Native\n- Front-end documentation\n- Flux architecture\n- Using React Hooks\n- Server-side rendering(SSR) with ReactJS\n- GraphQL\n- Expo\n- Creating ReactJS project\n- Creating React Native project\n- Animations with React Native\n- Full-stack app development\n- Node.js tests\n- Node.js deploy\n- ReactJS tests\n- React Native tests\n- ReactJS deploy\n- React Native publication\n- WebSocket with Express\n- Advanced patterns at Node.js\n- OmniStack SaaS(software as a service) and AdonisJS\n- Final challenge\n- Monorepo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkastorcode%2Fgostack-challenge-01","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkastorcode%2Fgostack-challenge-01","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkastorcode%2Fgostack-challenge-01/lists"}