This Stelace API server plugin enables advanced filtering in Search API (docs), using a dedicated Domain-Specific Language parsed with PEG.js.
For instructions about using and developing Stelace plugins, have a look at server docs.
Install plugin dependencies:
yarn
Databases should be up and running. You can use stelace-server installed as a dependency for tests and development:
# not needed if you’re already running stelace-server databases
yarn --cwd node_modules/stelace-server/ run docker:db
Please also ensure that additional stelace-server plugins specified in the server environment variable INSTALLED_PLUGINS
are installed:
yarn plugins:server
yarn test
Run plugin tests and all server tests with yarn test:server
.
© Stelace 2019-present
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
A copy of the GNU General Public License is included in this program, and is also available at https://www.gnu.org/licenses/gpl-3.0.txt.