Package Exports
- loopback-connector-couchbase3
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (loopback-connector-couchbase3) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
loopback-connector-couchbase3
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-couchbase3 --save
Config
# datasources.json
{
"couchbaseTestBucket": {
"name": "couchbaseTestBucket",
"connector": "couchbase3",
"cluster": {
"url": "couchbase://localhost",
"options": {}
},
"bucket": {
"name": "test_bucket",
"password": ""
}
}
}
Dev
export COUCHBASE="couchbase4"
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
Git Summary
project : loopback-connector-couchbase3
repo age : 2 years, 2 months
active : 53 days
commits : 106
files : 38
authors :
59 Makara Wang 55.7%
25 CCharlieLi 23.6%
7 chopperlee 6.6%
4 Xavier Zhou 3.8%
3 Leo Zhou 2.8%
3 wwayne 2.8%
2 greenkeeperio-bot 1.9%
2 xavier 1.9%
1 Marc Bachmann 0.9%