Frontend Routes - owenshaupt/Candidpop GitHub Wiki

Frontend Routes

Our components are organized as follows:

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

Components in between the NavBar and the Footer have routes as follows:

  • /
    • Splash
  • /login
    • SessionForm
  • /signup
    • SessionForm
  • /items
    • ItemsIndex
      • Item
  • /users/:userId
    • Profile
    • ItemsIndex
      • Item
  • /items/new
    • ItemForm
  • /items/:itemId
    • ItemShow
  • /items/:itemId/edit
    • ItemForm