Skip to content

edappy/seneca-multi-mongo-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Multi-tenanted Mongo using Seneca Mongo Data Store

This is a quick example of using Seneca.js with seneca-mongo-store to push data to more than one database. It uses the zone part of a Seneca entity namespace to achieve this, following the documentation linked below.

Usage

index.js assumes the existence of two databases on localhost:27017 - test and test2.

node index.js

About

Multi-tenanted mongo store example with Seneca

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published