Skip to content
RavenDB client for Node
JavaScript
Latest commit f296f1d Jan 8, 2013 @csainty Added test to ensure a datetime is property serialized, consumed by r…
…avendb and sent back in a parse-able format
Failed to load latest commit information.
lib In the light of day I implemented a better fix for utf8 chars in docu… Oct 3, 2012
test Added test to ensure a datetime is property serialized, consumed by r… Jan 8, 2013
utils Updated some test code for node v0.8.* Jul 11, 2012
.gitignore Fixed failing test under version 2 Jan 8, 2013
.npmignore Added npm ignore file Mar 19, 2012
LICENSE Updated LICENSE and README Mar 19, 2012
README.md Updated README May 27, 2012
docs.cmd Added docco docs for RavenHttpClient and a script to generate docs May 27, 2012
hint.cmd Code reformat. Nothing to see here. Mar 11, 2012
package.json Update to version 0.1.0 for breaking API changes May 24, 2012
test.cmd
testremote.cmd Added test file for testing against a remote server such as RavenHQ Mar 18, 2012

README.md

node-raven is a RavenDB client for node.js

If you are on Windows, make sure you use the MSI installer for Node which includes npm.

http://nodejs.org/#download

See http://csainty.github.com/node-raven for documentation or the tests for example usage.

To use this code you need to run the following command to install all dependencies.

npm install

To test this code you should use this command which installs the test libraries and runner.

npm install -d

The test.cmd script assumes a dedicated RavenDB instance is sitting in the .\RavenDB folder.
It will delete the data folder, start and stop the server for each run of the tests.
You can test against multiple RavenDB versions or configurations by creating additional folders in the format .\RavenDB_{Name}, the test script will run the tests against the RavenDB instance in each folder.

There is currently no windows authentication support. So please either turn off authentication with the following setting

<add key="Raven/AnonymousAccess" value="All" />  <!-- All|Get|None -->

Or use oAuth for authentication with these settings.

<add key="Raven/AnonymousAccess" value="Get" />  <!-- All|Get|None -->
<add key="Raven/AuthenticationMode" value="oauth" /> <!-- windows|oauth -->

See Also
RavenDB - http://www.ravendb.net
Node.js - http://nodejs.org
Request - https://github.com/mikeal/request
Underscore - http://documentcloud.github.com/underscore/
Should - https://github.com/visionmedia/should.js
Mocha - http://visionmedia.github.com/mocha/
Jshint - https://github.com/jshint/node-jshint
Chris Sainty - http://blog.csainty.com - @csainty

Something went wrong with that request. Please try again.