Skip to content

vnnvanhuong/ws-ddp-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebSocket DDP Client

A demo for DDP Client using Websockets API

Features

DDP server provision

For this demo, I used Rocket.Chat which contains a DDP Server. I created a user wdc/secret for authentication.

Run

npm install
DEBUG=ws-ddp-client:* PORT=8080 npm start

How to use

Have a look:

  • Implementation: public/javascripts/wdc.js
  • client code: public/javascripts/index.js

This project was bootstrapped with express-generator

Inspired by https://github.com/hharnisc/node-ddp-client

About

Demo for DDP Client using Websockets API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages