Skip to content

Frontend Routes

Derek W edited this page Jul 31, 2019 · 3 revisions

Frontend Routes


General Structure:

  • root
    • App
      • NavBar
      • (main content)
      • SideFooter

(login and signup forms are rendered through a pop up)


Main Content:

  • /

    • SplashPage
  • /dashboard (ordered by newest tracks from user followed by current user)

    • TrackIndexItem
  • /dashboard/favorities (ordered by lastest followed tracks by current user)

    • TrackIndexItem
  • /dashboard/hot (ordered by playcount with highest first)

    • TrackIndexItem
  • /discover

    • TagIndex
      • TagIndexItem
  • /upload

    • TrackCreate
      • TrackForm
  • /upload/:username/:track.title/edit

    • TrackEdit
      • TrackForm
  • /:username/:track.title

    • TrackShow
    • TrackCommentsIndex
      • TrackCommentIndexItem
  • /:username

    • UserShow
  • /:username/followers

    • UserFollowers
  • /:username/following

    • Userfollowings
  • /settings/profile & /settings/account (different user attributes to edit)

    • UserEdit
Clone this wiki locally