Closed The-Law-1 closed 2 years ago
https://stackoverflow.com/questions/21971666/mongoose-unique-field
https://stackoverflow.com/questions/36805784/how-to-join-two-collections-in-mongoose/44357938
Or, use one collection and have the data be divided in two categories, users and user preferences (distinguishable via tag ?)
Solved, searching prefs based on username found with jwt
https://stackoverflow.com/questions/21971666/mongoose-unique-field