Create DDP Server using Node.js

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?

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