Face Recognition with Node.js

It’s pretty simple to have a basic face recognition in Node.js using the Face.com API. Pre-Requirements : 0. You will need apikey and api-secret from face.com. You can obtain them by clicking here. 1. I am using a package called restler to handle REST requests. npm install restler Here is the code: var sys = … Read more

MongoDB, Node.js and admin auth

There is a big challenge to make MongoDB driver to work with Node.js, but here is an cool and working example to do that: Require: var mongodb = require(“mongodb”); //require node-mongodb-native var settings = require(‘./mconfig’); //for settings Connect to the admin database: var mongoserver = new mongodb.Server(settings.mongo_host, settings.mongo_port, {}); admindb = new mongodb.Db(‘admin’, mongoserver); Try … Read more