0.0.9 • Published 12 years ago

http-ravendb v0.0.9

Weekly downloads
1
License
-
Repository
github
Last release
12 years ago

http-ravendb

A client-side JavaScript library for RavenDB access.

Requirements

This requires the use of Cross-Origin Resource Sharing (CORS). This means that you will likely need to configure RavenDB to be hosted in IIS and add a static HTTP Header to the site/virtual directory. Something like:

Access-Control-Allow-Origin: *
Access-Control-Allow-Origin: http://example.com:8080 http://foo.example.com
Access-Control-Allow-Headers: Content-Type, Raven-Entity-Name
Access-Control-Allow-Methods: PATCH, PUT, POST, GET, OPTIONS, DELETE

See (http://enable-cors.org/) for more

Usage

See the index.html file in this project for example usage.