To ensure the database has a size smaller than 500MB, store user information on their computer so that there is no need to handle users, and there is no concern in adding new features.
Using mongoose, I have separated the models into local and web databases. See mongooseSetup.js to look at how it was made. Only the scores go only now.
To ensure the database has a size smaller than 500MB, store user information on their computer so that there is no need to handle users, and there is no concern in adding new features.