Frontend Routes - Run5/GoodTrails GitHub Wiki

Frontend Routes

/

  • GET
  • Home route will display an ability to browse trails by State (TBD dropdown or text links)
  • Displays a link to log in or sign up page.

/login

  • GET

/register

  • GET

/trails/:id

  • GET
  • Includes call to post a new review

/states/:state-code

  • GET

/users/:id

  • GET
  • Login redirects to here
  • Displays name
  • Contains button link to /mytrails

/mytrails

  • GET
  • A collection of trails for each logged in user.