Skip to content

Frontend Routes

Nicole Loescher edited this page Feb 20, 2021 · 9 revisions

User-facing routes

-'/' -- landing page ='/login' --login -'/signup' -- signup -'/categories' -- list of resource categories -'/categories/:category' -- list of resources in a category -'/resources/:id' -- specific resource detail

-'/api/auth/login' -- login -'/api/auth/signup' -- signup -'/api/resources' -- add a resource

/login

Log In Page

Routes Used

  • [GET /login]
  • [POST /api/auth/login]

/signup

Registration page

Routes Used

  • [GET /signup]
  • [POST /api/auth/signup]

/

Authentication required to claim

Navigation bar, map of resources, recent resources, search bar, login, signup

'/categories'

List of resource categories which will link to a list of all resources in a particular category.

'/categories/:category'

list of resources filtered by category parameter.

'/resources/:id'

a specific resource details

api routes used

Clone this wiki locally