Need help with rethinkdb-example-nodejs-chat?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

rethinkdb
205 Stars 75 Forks 43 Commits 8 Opened issues

Description

A node.js chat application running on rethinkdb

Services available

!
?

Need anything else?

Contributors list

What is it

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

Note:

This is an example application. Even though it shows an example of how to integrate Passport and bcrypt, you shouldn't assume it is free from security vulnerabilities. Have the code audited carefully by an expert before you put anything modeled on it into production.

Complete stack

Installation

git clone [email protected]: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

License

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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.