Sample geo-chat with node.js, Express, Coffeescript, MongoDB and Google Maps API v3
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is even with kulesa:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
public
views
.gitmodules
.node_libraries
README.md
app.coffee
messages-mongodb.coffee

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!