cruds

Easy CRUD + SUBSCRIBE with mongodb and node.js.

npm install cruds
20 downloads in the last month

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.

npm loves you