Skip to content

frontend routes

Matthew Duek edited this page Jul 31, 2018 · 7 revisions

Frontend Routes

Our components are organized as follows:

  • Root
    • App
      • NavBar
      • (main component goes here)
      • Footer

The following routes, defined in App, will render components between NavBar and Footer.

  • /
    • Splash
  • /login
    • SessionFormContainer => SessionForm
  • /signup
    • SessionFormContainer render SessionForm
  • /feed
    • ChirpIndexContainer
      • ChirpIndex
    • ChirpIndexItemContainer
      • ChirpIndexItem
  • /users/:userId
    • ProfileIndexContainer
      • ProfileComponent
    • ChirpIndexContainer
      • ChirpIndex
    • ChirpIndexItemContainer
      • ChirpIndexItem
  • /chirps/new
    • ChirpFormContainer
      • ChirpForm
  • /chirps/:chirpId
    • ChirpShowContainer
      • ChirpShow
  • /chirps/:chirpId/edit
    • ChirpFormContainer
      • ChirpForm
Clone this wiki locally