Thanks for the comment, Dian. I really appreciate it. Yes, normally I would use a relational database for this kind of application due to the relationships between the models. SQL gives you cascades and much more right out of the box.I just wanted to experiment on how cascades could be achieved using mongoose :)
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.