Frontend Routes - AetherVial/Vaporize GitHub Wiki

Frontend Routes

Our components are organized as follows:

*Root

  • App The following routes will happen AFTER App renders
  • /
    • Splash - protected from logged in users
    • Nav - stays on the page after login
    • Footer - stays on the page after login
  • /login
    • SessionForm
  • /signup
    • SessionForm
  • /browse
    • Renders main App page (home page) after login
      • PlaylistIndex
        • PlaylistIndexItem
      • ArtistIndex
        • ArtistIndexItem
  • /users/:userId
    • UserProfileComponent
      • PlaylistIndex
        • PlaylistIndexItem
  • /artists/:artistId
    • ArtistProfileComponent
      • AlbumIndex
        • AlbumIndexItem
      • SongIndex
        • SongIndexItem
  • /albums/:albumId
    • AlbumProfileComponent
      • SongIndex
        • SongIndexItem
  • /playlists/:playlistId
    • PlaylistProfile
      • TrackIndex
        • TrackIndexItems
  • /playlists/new
    • PlaylistForm
  • /playlists/edit
    • PlaylistForm