Skip to content
Bergan Oudshoorn edited this page May 4, 2021 · 3 revisions

Frontend Routes

  • /home -> homepage
  • /login -> login page
  • /signup -> signup page
  • /<posts> -> posts page
  • /<posts>/<post_name> -> Specific post
  • /<username>/shoppingcart -> Users shopping cart
  • /<discussions> -> discussion page
  • /<discussions>/<discussion_name> -> discussion post
  • /<user_name> -> profile page

API Routes

  • /api/login -> login page
  • /api/signup -> signup page
  • /api/posts -> api to get all the product posting
  • /api/posts/<id> -> get one specific post
  • /api/shoppingcart -> get shopping cart data
  • /api/discussions -> get all the discussion posts
  • /api/discussions/<id> -> get one single discussion post

Clone this wiki locally