Skip to content

Frontend Routes

Dechon edited this page Aug 12, 2021 · 5 revisions

User-facing routes

/login

This page displays a log in form

  • GET /login
  • POST /login

/signup

This page displays a signup form.

  • GET /signup
  • POST /signup

/

This is the landing page. [TODO: Determine what will be displayed here]

/forms

Shows a list of forms created by the logged in user.

  • GET /forms
  • POST /forms/create

/forms/<int:id>

Shows a specific form.

  • GET /forms/int:id
  • POST /forms/int:id
  • PUT /forms/int:id
  • DELETE /forms/int:id

/submitted-forms

Shows the submissions from shared forms.

  • GET /submitted-forms

/submitted-forms/<int:id>

Shows a specific form submission.

  • GET /submitted-forms/int:id
  • DELETE /submitted-forms/int:id
Clone this wiki locally