-
Notifications
You must be signed in to change notification settings - Fork 0
Front End Routes
This page displays a log in form
GET /landingPOST /landing
This page displays a signup form.
GET /usersPOST /users
This page displays the ten most recent answers with the question title and asked by ${user} attribute, as well as a navigation bar with an ask question button, a search bar, login/signup or logout buttons. Each question has an update and delete button if it belongs to the currently logged in user. Logged in users can answer a question or comment on answers on this page.
GET /- GET question pop up screen by clicking add question button in nav bar (addEventListener "click")
This page displays a form with which a logged in user can craft a new question, as well as a navigation bar with an ask question button, a search bar, login/signup or logout buttons.
GET /questionsPOST /questions
This page displays individual questions with associated answers and comments on answers, as well as a navigation bar with an ask question button, a search bar, login/signup or logout buttons.
If the logged in user owns the question, this page also displays an update and delete button. Logged in users can post answers and comment on answers. The logged in owners of those answers and comments can update or delete them.
GET /questions/:idPOST /questions/:id/answersPUT /questions/:idPUT /answers/:id
GET /answers/:idPOST /answers/:id/commentsPUT /comments/:id
DELETE /questions/:idDELETE /answers/:idDELETE /comments/:id
This page displays all topics placed on cards with a banner image, circular profile image and a short description as well as a navigation bar with an ask question button, a search bar, login/signup or logout buttons.
GET /topicsGET /topics/:id