Skip to content

Frontend Routes

Evan-Leon edited this page May 11, 2021 · 7 revisions

Organization for Frontend Components:

  • Root
    • App
      • NavBar
        • NavLinks
        • SearchBar
      • [Main Component] The following routes will be found in the App Component. App will also render [Main Component] and the NavBar will be available at all times.

If not logged in:

  • Note: the user will still have access to home page and all listings, will not have access to bookings or creating reviews

Either:

  • /
    • NavBar
    • HomePage
  • /listings/:listingId
    • ListingBanner
    • ListingDetails
    • ReviewDetails
  • /search
    • ResultsTab

If logged in:

  • /bookings/:bookingId
    • ListingBanner
    • ListingDetails
    • BookingDetails

Modals:

  • signup
  • login
  • newBooking
  • listingDetail
  • review
  • bookingDetail
Clone this wiki locally