Skip to content

Schniz/rethinkdb-example-nodejs-chat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is it

A fork of the node.js chat app by @orkj using socket.io, rethinkdb, passport and bcrypt on an express app.

Complete stack

Installation

git clone git@github.com:rethinkdb/rethinkdb-example-nodejs-chat.git
cd rethinkdb-example-nodejs-chat && npm install

Note: If you don't have RethinkDB installed, you can follow these instructions to get it up and running.

Running the application

Running the app is as simple as:

node app

Then open a browser: http://localhost:8000.

Note: If you want to override the default RethinkDB connection details, you can specify them as environment variables:

  • RDB_HOST: the RethinkDB host (default: localhost)
  • RDB_PORT: the port (default 28015)
  • RDB_DB: the app database (default: chat)

If you want to enable logging for the database queries (see debug docs for more configuration options:

DEBUG=rdb:* node app

Annotated Source Code

After checking out the code, you can also read the annotated source here.

License

This demo application is licensed under the MIT license: http://opensource.org/licenses/mit-license.php

About

A node.js chat application running on rethinkdb

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 81.9%
  • HTML 12.7%
  • JavaScript 5.2%
  • Ruby 0.2%