Skip to content

Commit

Permalink
Merge branch 'main' into issue-208
Browse files Browse the repository at this point in the history
  • Loading branch information
Alecell authored Jul 15, 2024
2 parents a8d2ec7 + b07fa80 commit 891d2b2
Show file tree
Hide file tree
Showing 4 changed files with 542 additions and 6 deletions.
279 changes: 279 additions & 0 deletions db.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,285 @@
"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
},
{
"id": "11",
"breed": "Turkey Shepherd",
"name": "Jadd",
"size": {
"small": "X",
"medium": "",
"large": ""
},
"weight": 32,
"birthday": "20-07-2017",
"castrated": false,
"specialNeeds": true
}
],
"preferences": {
"favLang": "en-us",
"receiveNews": true
}
},
{
"id": "11",
"name": "Jane Doe",
"email": "[email protected]",
"password": "SecurePass123!",
"phone": "(21) 91234-5678",
"local": "Rio de Janeiro",
"pets": [],
"preferences": {
"favLang": "pt-br",
"receiveNews": false
}
}
],
"breed": [
Expand Down
12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,18 @@
"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",
"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 Expand Up @@ -81,7 +82,8 @@
"stylelint-order": "^6.0.4",
"stylelint-prettier": "^5.0.0",
"stylelint-scss": "^6.2.1",
"vitest": "^1.6.0"
"vitest": "^1.6.0",
"json-server": "1.0.0-beta.1"
},
"config": {
"commitizen": {
Expand Down
Loading

0 comments on commit 891d2b2

Please sign in to comment.