A 4 posts collection is my latest weekend project

It all started when Adonis told me that he was looking to contribute to some open source projects. He had a list of projects that he actively uses but he didn't want to always be checking their issues list for new issues that he could get his hands… »

MongoDB Aggregation: $lookup for JOINs

As of MongoDB 3.2, a new feature has been added that introduces a left outer join for the first time. is part of the MongoDB aggregation pipeline. It's a separate stage and the syntax is really simple: The above command will fetch every document… »

Mongoose objects and the IN operator

Today I lost a few hours trying to understand why a document that I was fetching through Mongoose, kept returning true against checking for a field with the operator, even though the document didn't contain that field. But still it would return… »

Geospatial Query with MongoDB and Node.js

Hasn't been a long time when i started working with and my first challenge was on. Sweet! If you want to learn more about, check the site and our Github repo . Now on the fun part. We have a use case where an individual… »

I'm Kostas Bariotis, a web developer, a proud wanderer and a passionate doer. My mission is to write clean and efficient code, to solve problems on the Web and to learn something more. Read more about me or get in touch.