Skip to content

Tarang/DDP-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DDP Server

DDP-Server is a nodejs based DDP Server.

Usage,

var DDPServer = require('ddp-server');
var ddp = new DDPServer({});

ddp.methods({
    test: function() {
        return true;
    }
});


ddp.listen(4000);

Optionally, server could be passed as parameter,

var http = require('http');
var DDPServer = require('ddp-server');

var server = http.createServer();
var ddp = new DDPServer({server: server});

// define methods...

server.listen(400);

You can then connect to it using a ddp client such as ddp.

About

A DDP Server for Meteor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published