Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 237 - Serviço de Listar Pets #277

Merged
merged 10 commits into from
Jul 12, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
255 changes: 254 additions & 1 deletion db.json
ClaudioBioni marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,260 @@
"favLang": "pt-br",
"receiveNews": true
}
}
},
{
"id": "2",
"name": "Alice N. Hawking",
"email": "[email protected]",
"password": "s3cur3P@ssw0rd!",
"phone": "(21) 98765-4321",
"local": "Rio de Janeiro",
"pets": [
{
"id": "2",
"breed": "Labrador Retriever",
"name": "Einstein",
"size": {
"small": "",
"medium": "X",
"large": ""
},
"weight": 30,
"birthday": "15-03-2020",
"castrated": true,
"specialNeeds": false
}
],
"preferences": {
"favLang": "en-us",
"receiveNews": false
}
},
{
"id": "3",
"name": "Michael T. Dyson",
"email": "[email protected]",
"password": "AstroPh1sic$2024",
"phone": "(31) 99876-5432",
"local": "Belo Horizonte",
"pets": [
{
"id": "3",
"breed": "Beagle",
"name": "Newton",
"size": {
"small": "X",
"medium": "",
"large": ""
},
"weight": 12,
"birthday": "10-11-2019",
"castrated": true,
"specialNeeds": false
}
],
"preferences": {
"favLang": "en-us",
"receiveNews": true
}
},
{
"id": "4",
"name": "Dr. Marie L. Curie",
"email": "[email protected]",
"password": "Ch3m!$tryP@ss",
"phone": "(41) 91234-5678",
"local": "Curitiba",
"pets": [
{
"id": "4",
"breed": "Golden Retriever",
"name": "Curie",
"size": {
"small": "",
"medium": "",
"large": "X"
},
"weight": 35,
"birthday": "22-07-2018",
"castrated": true,
"specialNeeds": false
}
],
"preferences": {
"favLang": "fr-fr",
"receiveNews": true
}
},
{
"id": "5",
"name": "Dr. Alan M. Turing",
"email": "[email protected]",
"password": "C0mpuT!ngG3n1u$",
"phone": "(51) 98765-4321",
"local": "Porto Alegre",
"pets": [
{
"id": "5",
"breed": "Siberian Husky",
"name": "Turing",
"size": {
"small": "",
"medium": "X",
"large": ""
},
"weight": 25,
"birthday": "12-01-2021",
"castrated": false,
"specialNeeds": false
}
],
"preferences": {
"favLang": "en-gb",
"receiveNews": false
}
},
{
"id": "6",
"name": "Dr. Rosalind E. Franklin",
"email": "[email protected]",
"password": "DnaD1sc0verer!",
"phone": "(61) 98765-4321",
"local": "Brasília",
"pets": [
{
"id": "6",
"breed": "Dalmatian",
"name": "Rosie",
"size": {
"small": "",
"medium": "X",
"large": ""
},
"weight": 22,
"birthday": "30-04-2019",
"castrated": true,
"specialNeeds": false
}
],
"preferences": {
"favLang": "en-gb",
"receiveNews": true
}
},
{
"id": "7",
"name": "Dr. Richard P. Feynman",
"email": "[email protected]",
"password": "QuntumM3ch@nic$",
"phone": "(71) 92345-6789",
"local": "Salvador",
"pets": [
{
"id": "7",
"breed": "Border Collie",
"name": "Feynman",
"size": {
"small": "",
"medium": "X",
"large": ""
},
"weight": 18,
"birthday": "05-09-2020",
"castrated": true,
"specialNeeds": false
}
],
"preferences": {
"favLang": "en-us",
"receiveNews": false
}
},
{
"id": "8",
"name": "Dr. Katherine G. Johnson",
"email": "[email protected]",
"password": "Sp@ceC@lculat0r",
"phone": "(81) 93456-7890",
"local": "Recife",
"pets": [
{
"id": "8",
"breed": "Poodle",
"name": "Kathy",
"size": {
"small": "X",
"medium": "",
"large": ""
},
"weight": 8,
"birthday": "11-02-2021",
"castrated": true,
"specialNeeds": false
}
],
"preferences": {
"favLang": "en-us",
"receiveNews": true
}
},
{
"id": "9",
"name": "Dr. Jane M. Goodall",
"email": "[email protected]",
"password": "Pr!m@teC0nservat1on",
"phone": "(91) 94567-8901",
"local": "Belém",
"pets": [
{
"id": "9",
"breed": "Cocker Spaniel",
"name": "Chimp",
"size": {
"small": "",
"medium": "X",
"large": ""
},
"weight": 14,
"birthday": "22-06-2020",
"castrated": false,
"specialNeeds": false
}
],
"preferences": {
"favLang": "en-gb",
"receiveNews": false
}
},
{
"id": "10",
"name": "Dr. Neil A. Armstrong",
"email": "[email protected]",
"password": "MoonL@nd1ng1969",
"phone": "(11) 97654-3210",
"local": "São Paulo",
"pets": [
{
"id": "10",
"breed": "German Shepherd",
"name": "Apollo",
"size": {
"small": "",
"medium": "",
"large": "X"
},
"weight": 32,
"birthday": "20-07-2018",
"castrated": true,
"specialNeeds": false
}
],
"preferences": {
"favLang": "en-us",
"receiveNews": true
}
}

],
"breed": [
{
Expand Down
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,20 @@
"prettier:fix": "prettier . --write --ignore-unknown",
"preview": "vite preview",
"storybook": "storybook dev -p 6006",
"stylelint": "stylelint \"**/*.scss\""
"stylelint": "stylelint \"**/*.scss\"",
"mock-api": "json-server db.json"
},
"dependencies": {
"concurrently": "8.2.2",
"dayjs": "^1.11.10",
"json-server": "1.0.0-beta.1",
"npm": "10.8.1",
ClaudioBioni marked this conversation as resolved.
Show resolved Hide resolved
"pet-dex-utilities": "^1.0.1",
"reset-css": "^5.0.2",
"vanilla-routing": "0.0.4",
"vite": "^5.2.11",
"vite-jsconfig-paths": "2.0.1",
"vite-plugin-pwa": "^0.19.8",
"vite": "^5.2.10",
"vanilla-routing": "0.0.4"
"vite-plugin-pwa": "^0.19.8"
},
"devDependencies": {
"@commitlint/cli": "^19.2.2",
Expand Down
Loading