/Babble

A Real Time Chat Application built using Node.js, Express, Handlebars, Mongoose, Socket.io, Passport, & express-mvc-h5bp

Primary LanguageJavaScriptMIT LicenseMIT

screenshot

Babble

Dependency Status

A Real Time Chat Application built using Node.js, Express, Handlebars, Mongoose, Socket.io, Passport, & express-mvc-h5bp.

( Fork of Babble rebuilt with MEAN stack: Yabber )

Index

Demo

Check it out: babble.gq

Features

  • Responsive Interface
  • Web Sockets for Communication using Socket.io
  • Emma - A simple bot that returns wikipedia result when invoked with @emma.
  • Secure OAuth Authetication with Facebook using Passport
  • Emoji Column for easy inclusive of emojis (right click triggers larger emoji)
  • Image Upload Functionality
  • Log for user entry & exit

Installation

  1. Clone or Download the repository
```
$ git clone https://github.com/AravindVasudev/Babble.gq.git
$ cd Babble.gq
```
  1. Install Dependencies
```
$ npm install
```
  1. Add Facebook Client ID and Client Secret to FB_CLIENT_ID and FB_CLIENT_SECRET environment variables.

  2. Download and Install MongoDB

  3. Run Mongo DB Server

$ mongod
  1. Start the Application
$ npm start

Your app should now be running on localhost:3000.

The Application can be deployed now in Openshift v2 without any changes

Deploying in Openshift v2

  1. Create an Application with the following catridges
![catridges](./resources/images/catridges.png)
  1. Clone your application repository and cd into it

  2. Empty the application folder

  3. Clone or Download this repository into that folder

  4. Add Facebook Client ID, Client Secret and Callback URL of your app to config/auth.js

  5. Commit the changes

Contribute

You are always welcome to open an issue or provide a pull-request! Sorry for the bad code quality. Since this is first of my projects, just trying to make it work.

( Yabber is a fork of Babble built with MEAN stack for a hackathon. Eventhough it is not complete, it has more readable code with proper comments. Check it out! )

License

Built under MIT license.