apache / couchdb-nano

Nano: The official Apache CouchDB library for Node.js
https://www.npmjs.com/package/nano
Apache License 2.0
651 stars 165 forks source link

Add crud example file #280

Open olich97 opened 3 years ago

olich97 commented 3 years ago

Overview

A new file in /example folder. The file contains a little demonstration on how the document api could be used in CRUD operations context.

Testing recommendations

1) Configure your CouchDB server 2) Configure your settings (url & database name) in createDatabaseConnection function 3) Run:

node crud_operations.js

Checklist

YakovL commented 1 year ago

Hey @olich97 , could please you update your example by using .auth instead of feeding creds inside url? (please see #321 – or #174 directly)