0.0.5 • Published 11 years ago
cruds v0.0.5
CRUDS
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.
Install with npm
npm install cruds
In your express app
cruds = require("cruds")(<optional mongodb connection string>)
Set endpoints with
cruds.set(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.