Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
JavaScript

This branch is 2 commits ahead, 8 commits behind Automattic:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
test
.gitignore
History.md
Makefile
README.md
client.js
index.js
package.json
subscription.js

README.md

mydb

MyDB realtime server.

Example

var http = require('http').Server();
var mydb = require('mydb')(http);
http.listen(3000);

That's all there's to it. Point your mydb-client to it, and hook up MongoDB events through mydb-driver or by setting up mydb-tail.

To expose documents with express that you can request with MyDB on the frontend, use mydb-expose.

API

mydb(server)

Attaches the mydb server to a http.Server.

License

MIT

Something went wrong with that request. Please try again.