Skip to content

fabien/loopback-connector-algolia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

loopback-connector-algolia

Loopback connector for Algolia index management.

Connector config example:

{
    "applicationId": "<application ID>",
    "apiKey": "<admin API key>",
    "mapping": {                      // from Loopback to Algolia
        "favoriteColor": "favorite_color",
        "group": "demo"
    },
    "attributes": {                   // enforced data attributes
        "group": "demo"
    },
    "defaults": {                     // default data attributes
        "favoriteColor": "red"
    },
    "queryScope": {                   // default/enforced query scope (Loopback)
        "where": { "group": "demo" }
    }
}

Note: create a file test/credentials.local.json with the following parameters:

{
    "applicationId": "<application ID>",
    "apiKey": "<admin API key>"
}

About

Loopback Datasource Connector for Algolia

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published