Skip to content

Commit

Permalink
Merge pull request #3 from evgenygorchakov/module2-task1
Browse files Browse the repository at this point in the history
  • Loading branch information
keksobot authored May 19, 2024
2 parents adc0d85 + 5861951 commit db3acc9
Show file tree
Hide file tree
Showing 23 changed files with 4,808 additions and 532 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@
.DS_Store
coverage
*.log

/mocks/test-data.tsv
2 changes: 1 addition & 1 deletion mocks/mock-data.tsv
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Breathtaking Mountain views in cozy Birdbox Enjoy the relaxed and comfortable enclosure of the Birdbox. Sleep right beside nature and its amazing surroundings. 2022-04-06T08:45:40.283Z Dusseldorf preview.jpg photo1.jpg;photo2.jpg;photo3.jpg;photo4.jpg 5 house 2 4 2400 Laptop;friendly;workspace;Baby seat;Washer;Towels;Fridge John [email protected] ava.jpg qwerty pro 48.85661 2.351499
Breathtaking Mountain views in cozy Birdbox Enjoy the relaxed and comfortable enclosure of the Birdbox. Sleep right beside nature and its amazing surroundings. 2022-04-06T08:45:40.283Z Dusseldorf preview.jpg photo1.jpg;photo2.jpg;photo3.jpg;photo4.jpg 0 1 5 house 2 4 2400 Laptop;friendly;workspace;Baby seat;Washer;Towels;Fridge John [email protected] ava.jpg qwerty pro 48.85661;2.351499
89 changes: 89 additions & 0 deletions mocks/mock-server-data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"api": {
"titles": [
"Chalet in Paris",
"Tiny homes in Cologne",
"Tent in Brussels",
"Houseboat in Amsterdam",
"Hut in Hamburg",
"Condo in Dusseldorf"
],
"descriptions": [
"Cozy holiday home with large terrace and views of the water, where especially the sunset is worth enjoying.",
"Enjoy the tranquility and hang out in the giant garden overlooking the water. Or take a canoe or SUP and explore Isefjord.",
"Lovely newly built house, 80 meters from the coastline of Askø in the Småland Sea.",
"Wooden cabin with sea view located in the Danish nature. Isolated and with private campfire site.",
"Our house is just down to the Great Belt. There are beds for 10 adults, 1 guest bed, 3 junior beds plus a baby bed.",
"Take a break into the old days and still not forego the modern comforts?"
],
"cities": [
"Paris",
"Cologne",
"Brussels",
"Amsterdam",
"Hamburg",
"Dusseldorf"
],
"photos": [
"photo1.jpg",
"photo2.jpg",
"photo3.jpg",
"photo4.jpg"
],
"types": [
"apartment",
"house",
"room",
"hotel"
],
"amenities": [
"Breakfast",
"Air conditioning",
"Laptop friendly workspace",
"Baby seat",
"Washer",
"Towels",
"Fridge"
],
"names": [
"Иван",
"Олег",
"Пьер",
"Роланд",
"Холи",
"Джек",
"Антон",
"Борис",
"Рокки",
"Джон"
],
"emails": [
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]"
],
"avatars": [
"user.jpg",
"photo.jpg",
"awesome-avatar.jpg",
"roland.jpg",
"smite.jpg",
"coffee.jpg"
],
"passwords": [
"qwerty",
"qwerty1",
"qwerty2"
],
"userTypes": [
"common",
"pro"
]
}
}
Loading

0 comments on commit db3acc9

Please sign in to comment.