Skip to content
AlexDoes edited this page Dec 27, 2021 · 3 revisions

Organization for Frontend Components:

  • Root
    • App
      • NavBar
        • NavLinks
        • SearchBar
      • [ Main Component ]

If not signed-in:

  • /signin

    • SignInForm
  • /signup

    • SignUpForm
  • The user will be able to search all for listings, view listings, and view reviews.

  • The user will not be able to create listings, reserve, or interact with reviews.

Either:

  • /

    • NavBar
    • SplashPage
    • SearchBar
      • CalendarComponent
  • /search

    • SearchBar
    • ResultsIndex
  • /users/:userId

    • ProfilePicture
    • UserDetails
    • HostReviews
  • /listing/:listingId

    • ListingDetails
    • ReviewsDetails
    • MapComponent
    • ReserveForm
      • CalendarComponent

If signed-in:

  • /reservations
    • ReservationIndex
    • ReviewForm
  • /listings/new
    • ListingForm
  • /listings/:listingID/edit
    • ListingForm
  • /account/edit
    • AccountForm

Modals:

  • signin
  • signup
  • settings
  • profileDetails
  • listingForm
  • bookingForm
  • reviewForm

Clone this wiki locally