maiah / streaming-http-sample

Sample HTTP streaming between Node.js and the Browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

streaming-http-sample

Sample HTTP streaming between Node.js and the Browser.

This is an example implementation of Node.js streams being utilized in both server and client side of the application. This is explained well in this blog post http://dry.ly/full-streams-ahead.

stream-animation

Installation

Install required npm modules.

npm install

Then install Browserify globally.

npm install -g browserify

Once installed go to /public folder of this project and then create bundle.js file.

browserify -r hyperquest > bundle.js

Running

node server

Then go to browser http://localhost:7000/book to see the result.

License

The MIT License (MIT)

About

Sample HTTP streaming between Node.js and the Browser

License:MIT License


Languages

Language:JavaScript 100.0%