Home > chat-local

chat-local

Chat-local is a project mainly written in JAVASCRIPT and COFFEESCRIPT, it's free.

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

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!

Previous:aCFWheelsapp