The mean.js stack has made creating a REST server easier. However, many times we create CRUD resources that utilize the same code base.
We're basically doing the same operations (CREATE, READ, UPDATE, DELETE)
for each object.
This violates the DRY principle (Don't Repeat Yourself). Ningilin solves this by creating a sort of middleware for express.