Skip to content

FrontEnd Routes

Simonvargas edited this page Aug 24, 2021 · 1 revision

User-facing routes

/login

Log in page

This page displays a login form with a regular login option, a demo login option, and access to sign-up for an account.

  • GET /login
  • POST /login

/signup

This page displays a signup form.

Sign up page

  • GET /signup
  • POST /signup

/

If logged in, this page display the home page which is the user can see projects within their cateogires. If not logged in, it display information of website.

  • GET /
  • GET /project/:id

/project/:id

This page display details about a specific project that was clicked on by the user.

  • GET /project/:id
  • POST /pledge/:id
  • DELETE /pledge/:id
  • PUT /pledge/:id

/profile

This page display information about the user, the projects they have created, and projects they have funded.

  • GET /projects

/explore

This page display all projects and a bar that can change the categories so it can display all projects under that specific category

  • GET /projects/

/projects/:id/pledge

this page display information for you to pledge funding into a project. You are able to pick a reward or pledge without reward. You are able to pledge more if you already have pledged before. You can also remove your pledge.

  • POST /project/:id/pledge
  • PUT /project/:id/pledge
  • DELETE /project/:id/pledge

Clone this wiki locally