Skip to content

andrewvdp/loopback-rest-connector-syncgateway

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

loopback-rest-connector-syncgateway

Adding rest connector to an api:

  1. add to component-config:
"loopback-rest-connector-syncgateway": {
  "url": process.env.SYNC_GATEWAY_URL:process.env.SYNC_GATEWAY_PORT,
  "bucket": process.env.BUCKET_NAME,
  "models": [
    {
      "worker": [ "databases", "documents-and-attachments" ]
    }
  ]
}
  1. Change the model datasource to transient in model-config

About

REST Connector for Loopback + Couchbase SyncGateway

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 99.2%
  • Shell 0.8%