cruds

0.0.5 • Public • Published

CRUDS

Build Status

CRUDS aims to provide a fast and easy way to create and expose mongodb collections for crud functionality through REST and websockets with optional real-time subscribe and unsubscribe functionality throught a websocket interface. CRUDS depends on express and socket.io to create the REST and Websocket endpoints. The REST is fully compatible with backbone.js models.

  1. Install with npm npm install cruds

  2. In your express app cruds = require("cruds")(<optional mongodb connection string>)

  3. Set endpoints with cruds.set(url, collection name, app?, socketio?)

More documentation can be found here.

A GIST on how to make CRUDS work with express and socket.io can be found here.

Readme

Keywords

none

Package Sidebar

Install

npm i cruds

Weekly Downloads

2

Version

0.0.5

License

MIT

Last publish

Collaborators

  • ksnabb