{"id":23015653,"url":"https://github.com/rodrigo-dev7/consuming-api","last_synced_at":"2025-06-14T03:06:15.243Z","repository":{"id":122426463,"uuid":"293343970","full_name":"Rodrigo-dev7/consuming-api","owner":"Rodrigo-dev7","description":"Aplicação irá consumir api local e externa ","archived":false,"fork":false,"pushed_at":"2020-09-06T19:05:25.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T17:51:48.929Z","etag":null,"topics":["consuming-api","html","javascript","lite-server"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/Rodrigo-dev7.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":"2020-09-06T19:03:44.000Z","updated_at":"2020-09-06T19:06:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"3907e45b-43f9-4856-9e2e-d76aa5ba5fc8","html_url":"https://github.com/Rodrigo-dev7/consuming-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Rodrigo-dev7/consuming-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rodrigo-dev7%2Fconsuming-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rodrigo-dev7%2Fconsuming-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rodrigo-dev7%2Fconsuming-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rodrigo-dev7%2Fconsuming-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rodrigo-dev7","download_url":"https://codeload.github.com/Rodrigo-dev7/consuming-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rodrigo-dev7%2Fconsuming-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259752080,"owners_count":22905972,"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":["consuming-api","html","javascript","lite-server"],"created_at":"2024-12-15T11:12:48.952Z","updated_at":"2025-06-14T03:06:15.216Z","avatar_url":"https://github.com/Rodrigo-dev7.png","language":"HTML","readme":"# Consumir API\n\n## API\n\n- [x] Iniciar o projeto `npm init -y`\n- [x] Instalar as dependências `npm i express nodemon cors axios`\n- [x] Criar uma rota para acessar a API\n- [x] Server a API\n- [x] Habilitar o CORS\n- [x] Habilitar o nodemon para reiniciar o server\n\n## frontend\n\nConsumir API\n\n- [x] Utilizar fetch para consumir nossa API backend\n- [x] Explicar Promise - Async/await\n- [x] Usar try/catch\n- [x] mostrar a resposta na tela\n\n## backend\n\nConsumir API\n\n- [x] jsonplaceholder\n- [x] usar axios\n- [x] semelanças entre axios a fetch\n- [x] usar try/catch\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodrigo-dev7%2Fconsuming-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frodrigo-dev7%2Fconsuming-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodrigo-dev7%2Fconsuming-api/lists"}