{"id":26284264,"url":"https://github.com/phmc99/yumi-store-api","last_synced_at":"2026-04-28T09:32:09.872Z","repository":{"id":111734567,"uuid":"404194803","full_name":"phmc99/yumi-store-api","owner":"phmc99","description":"🐶 🐱 API utilizada no projeto Yumi Store, um e-commerce para pets.","archived":false,"fork":false,"pushed_at":"2022-12-16T20:51:32.000Z","size":100,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-03T01:04:16.505Z","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/phmc99.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-09-08T03:11:27.000Z","updated_at":"2021-11-02T20:23:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"7d06f7ad-e29c-4885-8956-c23ca69eb970","html_url":"https://github.com/phmc99/yumi-store-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/phmc99/yumi-store-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phmc99%2Fyumi-store-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phmc99%2Fyumi-store-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phmc99%2Fyumi-store-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phmc99%2Fyumi-store-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phmc99","download_url":"https://codeload.github.com/phmc99/yumi-store-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phmc99%2Fyumi-store-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32375320,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T09:24:15.638Z","status":"ssl_error","status_checked_at":"2026-04-28T09:24:15.071Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2025-03-14T18:30:57.539Z","updated_at":"2026-04-28T09:32:09.858Z","avatar_url":"https://github.com/phmc99.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# API - YumiStore\n\nAPI desenvolvida com Node, Express e MongoDB, para armazenar os dados necessarios para construção da aplicação Yumi Store.\n[Link do Deploy](https://yumi-store-api.onrender.com/)\n\n### Endpoints:\n\n- /auth/register -\u003e Registro de usuario\n- /auth/login -\u003e Logar o usuario\n- /auth/user/id -\u003e GET dos dados do usuario\n- /auth/user/id -\u003e PUT dos dados do usuario\n- /products -\u003e GET e POST dos produtos\n- /products/:productId -\u003e GET, PUT e DELETE dos produtos\n- /orders -\u003e GET e POST dos pedidos *endpoint necessita de autenticação*\n- /orders/:oerderId -\u003e GET, PUT e DELETE dos pedidos *endpoint necessita de autenticação*\n- /payment/checkout/:id/:email/:description/:amount -\u003e GET para fazer a comunicação com o mercadopago\n- /payment/success -\u003e GET para pagina de sucesso\n- /payment/failure -\u003e GET para pagina de falha\n- /payment/pending -\u003e GET para pagina de pendente\n\n### Corpo das requisições:\n\n- Registro -\u003e POST\n  ```\n  {\n    \"name\": \"test name\",\n    \"cpf\": \"00000000000\",\n    \"email\": \"mail@mail.com\",\n    \"phone_number\": \"21940028922\",\n    \"password\": \"123456\",\n    \"address\": {\n      \"cep\": \"\",\n      \"street\": \"\",\n      \"number\": \"\",\n      \"complement\": \"\",\n      \"district\": \"\",\n      \"city\": \"\",\n      \"uf\": \"\"\n    }\n  }\n  ```\n- Login -\u003e POST\n  ```\n  {\n    \"email\": \"mail@mail.com\",\n    \"password\": \"123456\"\n  }\n  ```\n - Products -\u003e GET, POST, PUT, DELETE\n  ```\n  {\n    \"name\": \"Cama M1 Urban Puppy para Cães Microfibra Lisa Marinho\",\n    \"description\": \"Lorem Ipsum is simply dummy text of the printing and typesetting industry.\",\n    \"category\": 1,\n    \"specie\": \"cachorro\",\n    \"sizes\": [\"P\", \"M\", \"G\"],\n    \"price\": \"149,99\",\n    \"member_price\": \"134,99\",\n    \"image_url\": \"https://staticpetz.stoom.com.br/fotos/1525443192336.jpg\",\n    \"rating\": {\n      \"comments\": [\"Fofo!\", \"Tamanho ideal\", \"Meu cachorro adorou\"],\n      \"grades\": [4, 5, 3, 2, 1, 0, 3, 4, 5, 5, 5]\n      }\n   }\n  ```\n- Orders -\u003e GET, POST, PUT, DELETE *precisa do token de autenticação*\n  ```\n  {\n    \"cart\": [\n     {\n       \"productId\": \"1\",\n       \"size\": \"P\",\n       \"quantity\": 2\n     }\n    ],\n    \"total_price\": \"110.0\",\n    \"payment\": {\n      \"method\": \"credit card\",\n      \"isPaid\": true\n     }\n   }\n  ```\n- Payments -\u003e GET\n  ```\n    .../payment/checkout/:id/:email/:description/:amount\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphmc99%2Fyumi-store-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphmc99%2Fyumi-store-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphmc99%2Fyumi-store-api/lists"}