Mongoose with ES6 classes

Mongoose is a great way to handle your database connection and model your data without having to worry about performing your own validation and so on. However I found it quite hard to find an example of Mongoose in action with the database connection not… Read more

Similar

How to map a Map [ES6]

2016 come to the end, and ES6 is everywhere. But with ES6, came some new syntax and APIs. This article aims to answer to a very specific…...

Read more »

ES6 is great, until it’s not

It’s funny indeed, but at the same time it’s the typical showcase of Cargo Cult Programming — ritual inclusion of code or program structures that serve no real purpose. It might seem to be an edge…

Read more »