david0521 / swedenUniServer

The backend part of the swedenUni
0 stars 0 forks source link

Redesign post controller #71

Open david0521 opened 3 months ago

david0521 commented 3 months ago

Issue found

While developing the front end page to find the relevant posts from the database, a bad decision of not segregating posts based on types were observable. Therefore, post controller needs to be redesigned completely.

Issue 1: Posts not searchable based on University or Program

From the frontend side, the users were supposed to be able to view the relevant posts to a specific university or a program. However, as the current version does not store posts under specific conditions, it needs to be redesigned.

Issue 2: Statistics of posts (Like, View Count) not available

As this was not implemented from the beginning, it will be good to implement this as well.

Acceptance Criteria