Miss any of our Open RFC calls?Watch the recordings here! »

loopback-connector-couchbase5

0.0.2 • Public • Published

loopback-connector-couchbase5

This is a Couchbase connector node module for Loopback with loopback-datasource-juggler. Without N1QL for now.

How to use

Install

npm install loopback-connector-couchbase5 --save

Config

# datasources.json
{
  "testDs": {
    "name": "testDs",
    "connector": "couchbase5",
    "cluster": {
      "url": "couchbase://localhost",
      "username": "username",
      "password": "password",
      "options": {}
    },
    "bucket": {
      "name": "test_bucket"
    }
  }
}

Dev

export COUCHBASE="couchbase5"
export COUCHBASE_USER="Administrator"
export COUCHBASE_PASS="password"
./dockers/start-couchbase.sh

Test

precheck: couchbase server is runing with two buckets named test_bucket, test_ping and enabled its flush feature. run: npm test

Install

npm i loopback-connector-couchbase5

DownloadsWeekly Downloads

43

Version

0.0.2

License

MIT

Unpacked Size

17.8 kB

Total Files

9

Last publish

Collaborators

  • avatar