-
Notifications
You must be signed in to change notification settings - Fork 0
Frontend Routes
This web app contains user-facing routes that a user can access and interact with.
-
This page displays a log in form.
-
Get /login
-
Post /login
-
An individual may create a new account. This page will display a signup form.
-
Get /signup
-
POST /register
-
This page will display five most recent questions, as well as a navigation bar with login/signup or logout buttons. Each question has an update and delete button if it belongs to the currently logged in user, and each question shows the highest voted answer underneath. Logged in users can upvote the questions and answers on this page. Users can click the comments button under each question to show or hide comments. There is a search function at the top. And, a new question button.
- GET /
- POST /questions/:id/tags
- POST /questions/:id/upvotes
- DELETE /questions/:id/tags
- DELETE /questions/:id/upvotes
- EDIT /questions
-
This page will show the form to submit a new question.
-
POST /submitQuestion
-
This page will display all current answers for a particular question and their current voting status.
-
GET /questions/:id