frontend routes - nrice95/Strive GitHub Wiki

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.

  • /
    • Dashboard (This will likely look a bit different than the actual app)
  • /login
    • SessionForm
  • /signup
    • SessionForm
  • /routes
    • RoutesIndex
      • RoutesIndexItem
  • /routes/new
    • RoutesForm
  • /routes/:routeId
    • RouteShow
  • /activities
    • ActivitiesIndex
      • ActivitiesIndexItem
  • /activities/new
    • ActivityForm (manual entry)
  • /activities/:activityId
    • ActivityShow
  • /activities/:activityId/edit
    • ActivityForm
  • /athletes/:athleteId
    • ProfileComponent