Skip to content

Frontend routes and components

yardenroee edited this page May 28, 2019 · 2 revisions
  • Root
    • App
      • NavBar (Albums, Songs, Artists, Playlists)
      • SideNavBar
      • (main component goes here)
      • MusicPlayer
      • NavBar, SideBar, and MusicPlayer will only render if user is logged in

general

  • /
    • Splash (Front Page)
  • /login
    • SessionForm
  • /signup
    • SessionForm

feed page

  • /feed

    • Albums (Front Page)
  • /feed/playlists

    • Playlists
  • /feed/artists

    • Artists
  • /feed/songs

    • Songs
  • /users/:userId

    • ProfileComponent (prof image, info)
    • PlaylistIndex (filtered by user playlist)
    • PlaylistIndexItem
  • /albums

    • AlbumPage
    • AlbumHeader (album image, info play/follow buttons)
    • SongIndex (filtered by albums songs)
    • Default page when logged in
  • /playlist/new

    • PlaylistForm
  • /playlists/:playlistId

    • PlaylistPage
    • PlaylistPage (image, info, play/follow button)
    • Song Index (filtered by playlist songs)
  • /artists/:artistId

    • ArtistPage
    • ArtistHeader (artist image, play button, follow b, bio)
    • Album Index (filtered by artist albums)
    • Song Index (filtered by artist songs)
Clone this wiki locally