This is my prefered way for this project All converted from class components to hooks

Routes used for first version:

  • /cities/recommended

  • /cities/:feature

    • Available features:
      • beach
      • europe
      • asia
      • us
      • exotic
  • /city/:cityId

  • /venues/recommended

  • /venues/superHost

  • /venue/:venueId

  • /activities/today

  • /activities/:feature

    • scenery
    • baking
    • diving
    • animals
  • /activity/:id

  • /seach/:searchTerm

  • /points/get