Skip to content

taterbase/dat-mongo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

build status #dat-mongo

A MongoDB plugin for dat for realtime data changes

##Usage

Create a dat.json with the hooks.listen plugin identified and a mongoOplogUrl defined.

{
  "name": "dat-mongo",

  "hooks": {
    "listen": "dat-mongo"
  },

  "mongoOplogUrl": "127.0.0.1:27017/local"
}

Now dat listen.

##Caveats

This requires your Mongo instance to be running as a replica set so that operations are written to the oplog.


Made with ⚡️ by @taterbase

About

MongoDB plugin for dat

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages