Skip to content

hatchdotlol/forums

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hatch forums

this is the repository for the backend and frontend of the hatch forums.

routes

  • GET /: forums home page.
  • POST api/new/topic: route create a new topic. user token should be in the Token header. body should contain title, content and category (as an ID) attributes.
  • POST api/new/post: route create a new topic. user token should be in the Token header. body should contain content and topic (as an ID) attributes.
  • GET /category/<category>: category page. <category> is a unique ID applied to each forum category.
  • GET /topic/<topic>: topic page. <topic> is a unique ID applied to each topic in the forums.