Articles in node.js

Getting started with Elasticsearch and Node.js - Part 3

So far in this series of articles we've been looking at the constituencies dataset and how we can control the way Elasticsearch indexes our data so it works for us. In part 1 we created our Compose Elasticsearch deployment, then indexed and searched…

Continue reading »

The Conversational Interface is the New Paradigm

In 1962 Thomas Kuhn published The Structure of Scientific Revolutions. In it he posited that science moves forward with brief, dramatic episodes of revolution in the paradigms of thought followed by longer terms of assimilating and exploring these ch…

Continue reading »

Turn Small Data Into Smart Data. Part 2: ETL with NodeJS and ES6 Promises

This is the second of a three part series focused on an open source tool chain for small data business intelligence. Part 1 explored dimensional modeling from a logical and use case perspective. Part 2 focuses on Extract, Transform and Load with Nod…

Continue reading »

One Missing Key & How it Broke Node.js & MongoDB+

Recently, we became aware that Node.js users were having trouble connecting to our new MongoDB+ service – MongoDB+ is the name of our currently in beta next generation MongoDB deployments. Now, as well as a much more expansive configuration, one of t…

Continue reading »

Working with the New API - Part 2: Node.js

In the last part, we used Go to create a command line utility that reported on your database versions and upgrade options. In this part, we'll switch to Node.js and show how you can create customized web-based front ends for your MongoHQ deployments.…

Continue reading »

Full Text Search with MongoDB & Node.js

Today we are going to look at a full text search in MongoDB and how you can use it from Node.js. Before we go any further, you'll need a MongoDB 2.6 system. MongoHQ users will also need to be running on a paid account, either an Elastic Deployment or…

Continue reading »

Mongoose Reintroduced

TL;DR: An interactive introduction to Mongoose, the ODM for Node.js and MongoDB. In the recent months, regular readers will have noticed that we have had a lot of Node.js based examples. One reader asked why we were only using the MongoDB driver rath…

Continue reading »

Tinkertank: MongoDB in Lights

TL;DR: How to put MongoDB statistics up in lights for ambient status displays. In the previous MongoHQ Tinkertank article, we showed how to use Node.js, Mongo, Express and the Smoothie graphing library to create charts based on sampling the MongoDB o…

Continue reading »

Aggregation in MongoDB 2.6: Things Worth Knowing

TL;DR: The powerful aggregation framework in MongoDB is even more powerful in MongoDB 2.6 The MongoDB 2.6 release improved aggregation framework (one of MongoDB's best features) considerably. We often hear from customers who are unaware of the aggreg…

Continue reading »

Oplog: Tools & Libraries for All

As the final post in this short series on the oplog and what your applications can do with it now that MongoHQ's Elastic Deployments give you access to it, we'll look at the libraries (in various languages) and tools that use the oplog. Although the…

Continue reading »