Frontend Routes - John-Amini/express-group-8-project Wiki

User-facing routes

/login

Log in page

This page displays a log in form

/signup/

Sign up page

This page displays a sign up form

/

This page displays recent questions as well as a navigation bar with login/signup or logout buttons with a navigation menu to the left. Each question has an update and delete button if it belongs to the currently logged in user.

/questions

This page displays a form with which a logged in user can create a new question as well as a navigation bar for logging out.

/questions/:id

This page displays an individual question alongside its answers and their comments. If the logged in user owns the question they can edit/delete the question with buttons respectively. Users can also upvote and downvote answers.

/users