Coder Social home page Coder Social logo

vansteki / rethinkdb-example-nodejs-chat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rethinkdb/rethinkdb-example-nodejs-chat

0.0 1.0 0.0 1.27 MB

A node.js chat application running on rethinkdb

JavaScript 15.11% Ruby 0.19% CSS 84.70%

rethinkdb-example-nodejs-chat's Introduction

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 [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

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

rethinkdb-example-nodejs-chat's People

Contributors

al3xandru avatar coffeemug avatar vansteki avatar neumino avatar chrisabrams avatar mglukhovsky avatar mchail avatar ralphtheninja avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.