ancasimon / travel-blog

A trip managing app for a road-warrior travel blogger, this project represented the opportunity to further practice using React.
0 stars 0 forks source link

Seed data #6

Closed ancasimon closed 4 years ago

ancasimon commented 4 years ago

User Story

As a developer, I want to see the seed data in JSON format that will be used for this app.

AC

WHEN THEN AND

Dev Notes

*

ancasimon commented 4 years ago

From requirements: here's what seed data should look like for PLACES:

{
  "locations": {
    "location1": {
      "id": 1,
      "name": "Rome",
      "country": "Italy",
      "dates": "1/1/2021 - 1/7/2021",
      "isCompleted": false
    },
    "location2": {
      "name": "Paris",
      "country": "France",
      "dates": "1/8/2021 - 1/14/2021",
      "isCompleted": false
    },
    "location3": {
      "name": "Everglades National Park",
      "country": "United States",
      "dates": "1/15/2021 - 1/21/2021",
      "isCompleted": false
    },
    "location4": {
      "name": "Zion National Park",
      "country": "United States",
      "dates": "12/8/2019 - 12/14/2029",
      "isCompleted": true
    },
    "location5": {
      "name": "Kyoto",
      "country": "Japan",
      "dates": "12/15/2019 - 12/21/2029",
      "isCompleted": true
    }
  }
}
ancasimon commented 4 years ago

From requirements: here's what seed data should look like for INTERESTS:

{
  "interests": {
    "interest1": {
      "locationId": "location2",
      "name": "Eiffel Tower",
      "description": "An object of discord, desire and fascination, the Eiffel Tower never fails to impress. Enriched by a history full of new developments, here you can discover all of its key information.",
      "cost": 16.60,
      "review": "View from the top is amazing"
    }
  }
}
ancasimon commented 4 years ago

Seed data for LOCATIONS:


{
  "locations": {
    "location1": {
      "name": "Rome",
      "country": "Italy",
      "dates": "1/1/2021 - 1/7/2021",
      "isCompleted": false,
     "imageUrl": "https://www.fodors.com/wp-content/uploads/2018/10/HERO_UltimateRome_Hero_shutterstock789412159.jpg"
    },
    "location2": {
      "name": "Paris",
      "country": "France",
      "dates": "1/8/2021 - 1/14/2021",
      "isCompleted": false,
     "imageUrl": "https://www.smartcitiesworld.net/AcuCustom/Sitename/DAM/020/Paris_AdobeStock_264549883_1.jpg,
    },
    "location3": {
      "name": "Berlin",
      "country": "Germany",
      "dates": "1/15/2021 - 1/21/2021",
      "isCompleted": false,
     "imageUrl": "https://media.gettyimages.com/photos/berlin-city-nights-picture-id109861425?s=612x612"
    },
    "location4": {
      "name": "Bern",
      "country": "Switzerland",
      "dates": "2/1/2021 - 2/8/2021",
      "isCompleted": false, 
     "imageUrl": "https://media.gettyimages.com/photos/bern-city-swtizerland-picture-id607533408?s=612x612"
    },
    "location5": {
      "name": "Bucharest",
      "country": "Romania",
      "dates": "10/1/2019 - 10/8/2019",
      "isCompleted": true,
     "imageUrl": "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcQZaQECWXzXFZRSYVOO8GoLZnfZJKwG6IIjzM0Q9r1_VC4HASKR&usqp=CAU"
    },
"location6": {
      "name": "Sofia",
      "country": "Bulgaria",
      "dates": "10/8/2019 - 10/15/2019",
      "isCompleted": true,
     "imageUrl": "https://www.back-packer.org/wp-content/uploads/Sofia-Bulgarien-Stadtpark-und-Theater.jpg"
    },
"location7": {
      "name": "Athens",
      "country": "Greece",
      "dates": "10/16/2019 - 10/23/2019",
      "isCompleted": true,
     "imageUrl": "https://www.visionpubl.com/en/wp-content/uploads/sites/3/2016/12/4922244491_a0dbaacf19_b-1.jpg"
    }
  }
}
ancasimon commented 4 years ago

Seed data for Points of interest:


{
  "interests": {
    "interest1": {
      "locationId": "location2",
      "name": "Eiffel Tower",
      "description": "An object of discord, desire and fascination, the Eiffel Tower never fails to impress. Enriched by a history full of new developments, here you can discover all of its key information.",
      "cost": 16.60,
      "review": "",
      "imageUrl": "https://www.france-hotel-guide.com/en/blog/wp-content/uploads/2014/04/rsz_3_eiffel-tower-1526364_960_720.jpg?ezimgfmt=ng:webp/ngcb2"
    },
 "interest2": {
      "locationId": "location2",
      "name": "Arc de Triomphe",
      "description": "Built on the Place de l’Etoile, at one end of the Champs-Elysée, the Arc de Triomphe is one the biggest arches in the world.",
      "cost": 12.00,
      "review": "",
     "imageUrl": "https://www.france-hotel-guide.com/en/blog/wp-content/uploads/2014/04/rsz_2_arc-de-triomphe-654114_960_720.jpg?ezimgfmt=ng:webp/ngcb2"
    },
 "interest3": {
      "locationId": "location2",
      "name": "Basilica of the Sacré-Coeur",
      "description": "Nested upon its 130-meter high hill, the basilica, built in a Romano-Byzantine style, is an architectural masterpiece.",
      "cost": 8.00,
      "review": "",
     "imageUrl": "https://www.france-hotel-guide.com/en/blog/wp-content/uploads/2014/04/rsz_4_sacr%C3%A9_coeur.jpg?ezimgfmt=ng:webp/ngcb2"
    },
 "interest4": {
      "locationId": "location3",
      "name": "Brandenburg Gate",
      "description": "When the Brandenburg Gate was inaugurated in 1791, it was only one of many city gates, admittedly a particularly beautiful one.",
      "cost": 0,
      "review": "",
     "imageUrl": "https://www.dw.com/image/16677205_303.jpg"
    },
 "interest5": {
      "locationId": "location4",
      "name": "The Old Town of Bern",
      "description": "Situated on a cliff surrounded on three sides by the stunning aquamarine waters of the Aare River, the old town has preserved much of its medieval character.",
      "cost": 0,
      "review": "",
     "imageUrl": "https://www.planetware.com/photos-large/CH/switzerland-bern-Old-town.jpg"
    },
 "interest6": {
      "locationId": "location4",
      "name": "Einstein Haus",
      "description": "Einstein did some of his most impressive work while living here, including writing the Annus Mirabilis papers on the photoelectric effect, the Brownian motion, the special theory of relativity, and E = mc2.",
      "cost": 15.50,
      "review": "",
     "imageUrl": "https://www.planetware.com/wpimages/2019/08/switzerland-bern-top-attractions-einstein-haus.jpg"
    },
 "interest7": {
      "locationId": "location5",
      "name": "The Athenaeum",
      "description": "On one of the oldest and most representative artery which is Calea Victoriei, across the former Royal Palace, stands the Athenaeum, the celebrated symbol of the national culture, a prominent architectural and cultural heritage.",
      "cost": 10.00,
      "review": "Its exceptional acoustics place the Romanian Athenaeum Hall among the most successful constructions of its kind worldwide.",
     "imageUrl": "https://unknownbucharestdotcom.files.wordpress.com/2011/08/the-romanian-athenaeum.jpg?w=418&h=310"
    },
 "interest8": {
      "locationId": "location5",
      "name": "Parliament Palace (House of the People)",
      "description": "Commonly known as “Ceausescu’s House” and popularly referred to by Romanians as “The House of the People”, this building housing today the Romania’s Parliament is considered a major tourist attraction in today’s Bucharest and indeed, visitors rarely miss the second largest administrative building in the world.",
      "cost": 20.00,
      "review": "The House of the People will remain an ever lasting symbol of the dictatorship in the capital of Romania.",
     "imageUrl": "https://unknownbucharestdotcom.files.wordpress.com/2011/07/parliament-palace-bucharest.jpg?w=600&h=450"
    },
 "interest9": {
      "locationId": "location5",
      "name": "Cismigiu Garden",
      "description": "A visit to Bucharest would not be complete without a stroll through the Cismigiu Garden, a favorite and much loved place for generations of city’s inhabitants. ",
      "cost": 0,
      "review": "In 2012 Cismigiu Garden celebrates 160 years of existence.",
     "imageUrl": "https://unknownbucharestdotcom.files.wordpress.com/2011/03/cismigiu-garden-bucharest.jpg?w=420&h=314"
    },
 "interest10": {
      "locationId": "location5",
      "name": "Stavropoleos Church",
      "description": "The beginnings of the church go back in the early 1720s, in the time of the first Phanariot prince Nicolae Mavrocordat, when the Greek hieromonk Ioanichie settled in Bucharest, in the thriving area around the Princely Court, where he decided to set up an inn, followed shortly by a monastery. The inn was to ensure income to the monastery, a customary arrangement at the time.",
      "cost": 0,
      "review": "Stavropoleos is perhaps the most brilliant in the “pleiad” of churches to be found in Bucharest’s historical center. ",
     "imageUrl": "https://unknownbucharestdotcom.files.wordpress.com/2010/10/stavropoleos-church-old-center-bucharest.jpg?w=420&h=310"
    },
 "interest11": {
      "locationId": "location7",
      "name": "Parthenon",
      "description": "The temple was built from 447-432BCE in homage to the goddess Athena. The Parthenon has served many purposes since its initial construction, including as a church dedicated to the Virgin Mary and a mosque under the Ottoman occupation.",
      "cost": 0,
      "review": "A visit to Acropolis Hill, where the Parthenon is located, requires a certain amount of commitment (as well as sensible shoes and plenty of water), but once you reach the top you’ll be delighted that you made the journey.",
     "imageUrl": "https://img.theculturetrip.com/1440x960/smart/wp-content/uploads/2017/01/sctp0143-parthenon-athens-greece-gravanis008.jpg"
    }
  }
}