Skip to content

Latest commit

 

History

History
41 lines (22 loc) · 1.31 KB

README.md

File metadata and controls

41 lines (22 loc) · 1.31 KB

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!