I created another collection that keeps track of the college names in the mentor's emails, this is to avoid doing the filtering every someone loads the homepage.
Instead of requesting every single entry in the mentor and mentee collections, we just use the countDocument function.
I created another collection that keeps track of the college names in the mentor's emails, this is to avoid doing the filtering every someone loads the homepage. Instead of requesting every single entry in the mentor and mentee collections, we just use the countDocument function.