Skip to content

Commit

Permalink
Issue-236 - Creation of mock API for the frontend (devhatt#254)
Browse files Browse the repository at this point in the history
* feat: create frontend mock api

* style: adding EOF that was missing

* style: adjusting EOF

* style: adjusting prettier error
  • Loading branch information
nicolasfreitas-dev authored Jun 5, 2024
1 parent 61aaa7f commit 5b142d1
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions db.json
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"
}
]
}

0 comments on commit 5b142d1

Please sign in to comment.