Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including seneca-db-web with all npm packages installed. Try it out:

var senecaDbWeb = require("seneca-db-web")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

seneca-db-web v0.2.0

Runs and exposes seneca db stores in separate process or in docker container

seneca-db-web

This repo has migrated and is out of date.

For latest releases, see here

--

Runs and exposes seneca db stores in separate process or in docker container.

This is a personal repository. It is not part of the official seneca utilities.

Install:

    npm install seneca-db-web

Currently supports:

  • jsonfile-store

Docker usage:

  • coming soon

Localhost usage:

  • run
node seneca-db-web.js --db=jsonfile-store
  • add code below to your app(before you add any plugins with seneca.use)
seneca
.client({port:44040, pins:['role:entity, cmd:*',  'cmd:ensure_entity',  'cmd:define_sys_entity']})
.ready(function(){
  seneca = this
  
  // do stuff, e.g.
  seneca.use('some-plugin')
  seneca.make$('something').save$()
  seneca.make$('something').list$()
})
  • run your app

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free