简体   繁体   中英

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM