/rethinkdb-test

Test repo to play with rethinkdb

Primary LanguageCSSMIT LicenseMIT

Chat with RethinkDb + Node.js + Socket.io + Express

Simple chat test based on rethinkdb/rethinkdb-example-nodejs-chat

Installation

Clone the project and execute:

npm install

Run docker-compose:

docker-compose up -d

To run the application

node app

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

To override RethinkDb configuration

Specify them as environment variables:

  • RDB_HOST (default: localhost)
  • RDB_PORT (default 28015)
  • RDB_DB (default: chat)

To enable logging for DB queries

DEBUG=rdb:* node app

For more configuration options: (see debug docs

Execute standard checks

npm run standard