Think the example code of “Clean Up Your Project with Modules” is difficult to read?
So did I.
Since it seems important I spent many hours to tangle it out and get a better understanding. Most “callback hell” are gone (I am a fan of await). I also switched to Mongoose since it is more familiar from earlier in the curriculum.
Please have look at it in this link!