Press the arrow keys to go through an explanation of the architecture.
It works from the browser
AngularJS
Socket.io /+ Firebase
NodeJS
Single Page Application (SPA)
using AngularJS
which provides MVC architecture
Single Page Application (SPA)
using AngularJS
which provides 2-way data binding
Single Page Application (SPA)
using AngularJS
which provides re-usable components
.... and a testable javascript framework
Asynchronous Javascript
using NodeJS
....server side javascript framework built on google's v8 engine
Therefore, only need one language for back-end and front-end
Websockets
using Socket.IO
A wrapper library over the Websockets API
... provides automatic down-grade to other methods like xhr-polling
Firebase
Real-time API for storing data to the cloud
...based on NoSQL -> No-schema, just plain JSON everywhere
... awesome documentation and free hacker plan
View
Controller
Controller
Services
Services
Server
Still on Server
Still on Server
Still on Server