MEAN Stack Tutorial MongoDB ExpressJS AngularJS NodeJS (Part III) - Adrian Mejia’s Blog. This is the last part of three-series tutorial.
Agile and vibrant community Setup. Creating RESTful APIs With NodeJS and MongoDB Tutorial (Part II) - Adrian Mejia’s Blog. Welcome to this RESTful API using Node.js (Express.js) and MongoDB (mongoose) tutorial.
HTTP RESTful API’s are compose of: HTTP methods, e.g. Here’s is a summary what we want to implement: NOTES: * Format will be JSON. * Bulk updates and bulk destroys are not safe, so we will not be implementing those. * POST, GET, PUT, DELETE == CREATE, READ, UPDATE, DELETE == CRUD. Setup The two main components of the MEAN stack are… NodeJS and MongoDB. Token-Based Authentication With AngularJS & NodeJS. Postgres LISTEN / NOTIFY with Node.js - Coding by Björn Gylling. I'm sure most of you have been hearing about Node.js lately, it has been causing quite a buzz.
If you're wondering what Node.js is all about I recommend you watch one of Ryan Dahls presentations on the subject. Interestingly Postgres has a feature that goes very well with the asynchronously nature of Node.js. The Postgres commands LISTEN and NOTIFY along with triggers you can have NOTIFY events fire when certain queries are performed on specific tables. I wrote a short Node.js script that basically "watches" a table in a Postgres database. Parse data files using Node.js streams - Nicolas Hery. 09 July, 2013 In this post I explain how I used Node.js streams to parse and transform data text files.
Streams and pipes are an important part of the Unix philosophy: Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface. -- Doug McIlroy, inventor of Unix pipes and one of the founders of the Unix tradition This means that we can have small, focused programs that are easily assembled together to tackle more complex problems. This is also possible in Node.js thanks to the Stream interface, and its .pipe() method. I won't go over the general aspects of streams and pipes in Unix and Node.js. During one of my projects, I had to parse text files containing data from some "legacy" system in order to make it more usable and load it into a database.
I thought this would be an ideal candidate for streams. You can follow along with the code for the example in this article at The data file to parse. Nodei.co. Npm-stat: download statistics for NPM packages.