adonis5-algolia-provider
v1.0.0
Published
AdonisJS 5 wrapper on top of algoliasearch package
Downloads
6
Readme
adonis-algolia-wrapper
Simple wrapper for the algolia search engine.
Installation
npm install adonis5-algolia-provider
node ace invoke adonis5-algolia-provider
Provide the following configuration to your .env
file:
ALGOLIA_APP_ID=<your-app-id>
ALGOLIA_API_KEY=<your-api-key>
Usage
import AlgoliaSearchClient from '@ioc:Adonis/Addons/Algolia'
const index = AlgoliaSearchClient.index('your_index')