david0521 / swedenUniServer

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

62 fix like mechanism #64

Closed david0521 closed 3 months ago

david0521 commented 3 months ago

About

The previous like mechanism was based on counting the number of users that likes the program/university. However, this is very inefficient as the system needs to count the number of documents every time. Therefore, I made a new collections to store the statistics of the program.