frontend routes - wxwang93/kikkr GitHub Wiki
Components are organized like so:
- Root
- App
- NavBar (Links: Explore, You) (Icons: upload and account)
- Main Component(Explore if signed in, if not then splash)
- Footer
- App
The following routes defined in App will render main components:
- /
- Splash
- /login
- SessionForm
- /signup
- SessionForm
- /explore
- PhotoIndex
- PhotoIndexItem
- /users/:userId
- ProfileComponent
- PhotoIndex (Photostream)
- PhotoIndexItem(only ones with corresponding userId)
- /users/albums/
- AlbumIndex (Albums)
- AlbumIndexItem(only ones with corresponding userId)
- AlbumIndex (Albums)
- /albums/:albumId/edit
- AlbumForm
- /albums/:albumId
- AlbumShow
- /photos/new
- PhotoForm
- /photos/:photoId
- PhotoShow *CommentIndex *CommentIndexItem
- /photos/:photoId/edit
- PhotoForm
- /albums/new
- AlbumForm
- /users/:userId/albums/:albumId
- AlbumShow
- /users/:userId/albums/:albumId/edit
- AlbumForm