this is the repository for the backend and frontend of the hatch forums.
- GET
/: forums home page. - POST
api/new/topic: route to create a new topic. user token should be in theTokenheader. body should containtitle,contentandcategory(as an ID) attributes. - POST
api/new/post: route to create a new post. user token should be in theTokenheader. body should containcontentandtopic(as an ID) attributes. - POST
api/new/reaction: route to create a new reaction. user token should be in theTokenheader. body should contain thereaction(as an integer ranging from 1 to 5) andpost(as an ID) attributes. - POST
api/pin/topic: route to pin a topic. user token should be in theTokenheader. body should containid(topic 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.