Skip to content

Commit

Permalink
#issue 267 - implementação da listagem de dados pet via service no co…
Browse files Browse the repository at this point in the history
…mponente PetAvatar #issue-267 (#290)

* feat: implementação da listagem de dados pet via service no componente PetAvatar #issue-267

* chore: execução do 'prettier:fix' para correção de falha no CI #issue-267

* refactor: inclusão dos dados pets em db.json e exclusão de dbSimulatorAPI

* refactor: atualização path login no frontend

* refactor: resolve os pedidos de alteração no código

---------

Co-authored-by: Matheus Domingos <[email protected]>
  • Loading branch information
EdiltonOliveira and DominMFD authored Aug 9, 2024
1 parent 5abefcf commit ae28176
Show file tree
Hide file tree
Showing 6 changed files with 260 additions and 277 deletions.
72 changes: 72 additions & 0 deletions db.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,78 @@
"id": "1",
"breed": "Spitz",
"name": "Mel",
"title": "Bolinha",
"imgSrc": "https://images.unsplash.com/photo-1598628599796-2a454fa7d9c5?q=80&w=1674&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
"imgAlt": "Bolinha",
"size": {
"small": "X",
"medium": "",
"large": ""
},
"weight": 10,
"birthday": "20-05-2022",
"castrated": true,
"specialNeeds": false
},
{
"id": "2",
"breed": "Spitz",
"name": "Mel",
"title": "Jake",
"imgSrc": "https://images.unsplash.com/photo-1530281700549-e82e7bf110d6?q=80&w=1888&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
"imgAlt": "Jake",
"size": {
"small": "X",
"medium": "",
"large": ""
},
"weight": 10,
"birthday": "20-05-2022",
"castrated": true,
"specialNeeds": false
},
{
"id": "3",
"breed": "Spitz",
"name": "Mel",
"title": "Tobias",
"imgSrc": "https://images.unsplash.com/photo-1632165258904-21ca36a01ee0?q=80&w=1635&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
"imgAlt": "Tobias",
"size": {
"small": "X",
"medium": "",
"large": ""
},
"weight": 10,
"birthday": "20-05-2022",
"castrated": true,
"specialNeeds": false
},

{
"id": "4",
"breed": "Spitz",
"name": "Mel",
"title": "Francis",
"imgSrc": "https://images.unsplash.com/photo-1596921825946-d738194fac80?q=80&w=1886&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
"imgAlt": "Francis",
"size": {
"small": "X",
"medium": "",
"large": ""
},
"weight": 10,
"birthday": "20-05-2022",
"castrated": true,
"specialNeeds": false
},
{
"id": "5",
"breed": "Spitz",
"name": "Mel",
"title": "Toyota",
"imgSrc": "https://images.unsplash.com/photo-1694185643879-536f8d785fa6?q=80&w=1664&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
"imgAlt": "Toyota",
"size": {
"small": "X",
"medium": "",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"preview": "vite preview",
"storybook": "storybook dev -p 6006",
"stylelint": "stylelint \"**/*.scss\"",
"mock-api": "json-server db.json"
"mock-api": "json-server db.json --routes routes.json"
},
"dependencies": {
"concurrently": "8.2.2",
Expand Down Expand Up @@ -71,7 +71,7 @@
"eslint-plugin-vitest-globals": "1.5.0",
"husky": "^8.0.3",
"jsdom": "^23.2.0",
"json-server": "1.0.0-beta.1",
"json-server": "0.17.4",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"reset-css": "^5.0.2",
Expand Down
Loading

0 comments on commit ae28176

Please sign in to comment.