Skip to content

Frontend Routes

John Sims edited this page Jun 18, 2021 · 15 revisions

Frontend Routes

This web app contains user-facing routes that a user can access and interact with.

/login

  • This page displays a log in form.

  • Get /login

  • Post /login

/signup

  • An individual may create a new account. This page will display a signup form.

  • Get /signup

  • POST /register

'''/home'''

  • This page will show a login/signup and give a brief image/text driven explanation of what our website is

    • GET /

/dashboard

  • This page will display a user's portfolio value, shares owned per asset, all broken down over a selected timeline.

    • GET /
    • POST /questions/:id/tags
    • POST /questions/:id/upvotes
    • DELETE /questions/:id/tags
    • DELETE /questions/:id/upvotes
    • EDIT /questions

/submitQuestion

  • This page will show the form to submit a new question.

  • POST /submitQuestion

/questions/:id/

  • This page will display all current answers for a particular question and their current voting status.

  • GET /questions/:id

Clone this wiki locally