The random endpoint could use some improvements as you are just choosing a random number with Math.random() and making it go through all entries and select just one entry. Maybe make it collect only one random entry from the database to improve speeds and take less requests.
should be fixed