Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Sample geo-chat with node.js, Express, Coffeescript, MongoDB and Google Maps API v3
JavaScript CoffeeScript
Branch: master

README.md

Geo-chat with node.js, Express, Coffeescript, MongoDB and Google Maps API v3

This is a simple location-based chat, which I wrote to practice in Coffeescript, geospatial indexing in MongoDB and new version of Google Maps API. Drag marker on the map to your location, set the area you want to listen to, and chat with people in the area.

The chat is using Socket.IO for realtime communication.

Google Maps widgets shamelessly borrowed from this article: Fun with MVC Objects, and Chat application is based on the example in Express repo.

Live Demo

Live demo is available here: http://letscome.ru:3000

Running

Prequisites:

  1. node.js
  2. Express
  3. CoffeeScript
  4. MongoDB

Install dependencies:

npm install connect express socket.io haml

Download the code

git clone git://github.com/bdotdub/nodejs-chat

Run it!

coffee app.coffee

Open http://localhost:3000 in two browsers and have fun!

Something went wrong with that request. Please try again.