项目作者: shalvah

项目描述 :
[Tutorial] Demo app showing realtime functionality with RethinkDB and Pusher Channels
高级语言: JavaScript
项目地址: git://github.com/shalvah/rethinkdb-pusher-node-demo.git
创建时间: 2019-01-02T20:21:12Z
项目社区:https://github.com/shalvah/rethinkdb-pusher-node-demo

开源协议:

下载


rethinkdb-pusher-node-demo

Express app to demonstrate Pusher + RethinkDB for realtime functionality

View tutorial

Prerequisites

Getting started

Clone the project and install dependencies:

  1. git clone https://github.com/shalvah/rethinkdb-pusher-node-demo
  2. cd rethinkdb-pusher-node-demo && npm install

Copy the .env.example file to a .env file. Add your Pusher app credentials to this file:

  1. PUSHER_APP_ID=your-app-id
  2. PUSHER_APP_KEY=your-app-key
  3. PUSHER_APP_SECRET=your-app-secret
  4. PUSHER_APP_CLUSTER=your-app-cluster

Start your RethinkDB server by following these instructions.

Start the app:

  1. npm start

Built With

  • Pusher - APIs to enable devs building realtime features
  • Express - Fast, unopinionated, minimalist web framework for Node.js
  • RethinkDB - The open-source database for the realtime web