A lightweight boilerplate application for creating real-time applications on top of Engine.IO. Fast and easy.
git clone git://github.com/martintajur/Engine.IO-app-boilerplate.git
cd Engine.IO-app-boilerplate
npm install
node .
or, if you'd prefer a one-liner:
git clone git://github.com/martintajur/Engine.IO-app-boilerplate.git && cd Engine.IO-app-boilerplate && make build && node .
- git
- NodeJS 0.6+
- npm 1.1+
- Mac OS X or Linux (all major distros should work)
It lets you kick-start real-time application development with Engine.IO very easily by providing a simple command+data messaging. Basically this boilerplate includes very little in itself. It only provides you with the bare essentials you need to have in order to communicate between server and client using Engine.IO.
- Provides a simple command+data message structure with extendable handlers
- Clients who connect to server receive information about other clients that are connected
- Each client is able to set his/her display name, all names changes get distributed to other clients
- Easily extendable with your own custom event handlers
- Simple, basic real-time apps (not for complex apps)
- Chat apps
- Geolocation-based games
- Ad hoc apps
- Apps that don't require a lot of authentication
I compiled this for a friend and thought it might be useful to share with others as well.
The MIT License (http://www.opensource.org/licenses/MIT), Copyright (c) 2012 Martin Tajur