4

Due to restrictions on node.js versions, recent versions of Meteor cannot be used on the system. A DDP server has to be created using regular node.js instead, which a Meteor setup will connect to.

DDP client can be created in node.js using node-ddp-client, but how can we create a DDP server?

Nyxynyx
  • 61,411
  • 155
  • 482
  • 830

2 Answers2

4

It might be too late to answer this and this might not be a good answer anyway. It's not an easy task, we need to manage sessions, users, methods, publications... As a reference for a brave developer :)

  • We need EJSON or some other implementation to serialize and deserialize messages between client and server.
  • We need a socket server (sockjs would be a good choice since meteor is using it too.)
  • We need to implement DDP specification
Yasin Uslu
  • 546
  • 6
  • 17
1

I've found https://www.npmjs.com/package/ddp-server-reactive and https://www.npmjs.com/package/ddp-server which both seem to do the job

Ido Ran
  • 10,584
  • 17
  • 80
  • 143