forked from devhatt/pet-dex-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue-236 - Creation of mock API for the frontend (devhatt#254)
* feat: create frontend mock api * style: adding EOF that was missing * style: adjusting EOF * style: adjusting prettier error
- Loading branch information
1 parent
61aaa7f
commit 5b142d1
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"user": [ | ||
{ | ||
"id": "1", | ||
"name": "Edward Elrick", | ||
"email": "[email protected]", | ||
"password": "12345678", | ||
"phone": "(11) 92112-3355", | ||
"local": "São Paulo", | ||
"pets": [ | ||
{ | ||
"id": "1", | ||
"breed": "Spitz", | ||
"name": "Mel", | ||
"size": { | ||
"small": "X", | ||
"medium": "", | ||
"large": "" | ||
}, | ||
"weight": 10, | ||
"birthday": "20-05-2022", | ||
"castrated": true, | ||
"specialNeeds": false | ||
} | ||
], | ||
"preferences": { | ||
"favLang": "pt-br", | ||
"receiveNews": true | ||
} | ||
} | ||
], | ||
"breed": [ | ||
{ | ||
"id": "1", | ||
"img": "https://img.freepik.com/fotos-gratis/vista-frontal-bonito-cao-sentado_23-2148423631.jpg", | ||
"breed": "Border collie" | ||
}, | ||
{ | ||
"id": "2", | ||
"img": "https://img.freepik.com/fotos-gratis/cachorro-beagle-tricolor-posando_155003-31772.jpg", | ||
"breed": "Beagle" | ||
}, | ||
{ | ||
"id": "3", | ||
"img": "https://img.freepik.com/fotos-premium/retrato-de-um-husky-siberiano-feliz-ao-ar-livre-em-um-dia-de-inverno_392895-29885.jpg", | ||
"breed": "Husky Siberiano" | ||
} | ||
] | ||
} |