Skip to content

stelace/stelace-search-filter-dsl-parser

Repository files navigation

Stelace plugin: search filter DSL parser

This Stelace API server plugin enables advanced filtering in Search API (docs), using a dedicated Domain-Specific Language parsed with PEG.js.

CircleCI JavaScript Style Guide Conventional Commits

For instructions about using and developing Stelace plugins, have a look at server docs.

Tests and development

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

Run tests

yarn test

Run plugin tests and all server tests with yarn test:server.

License

© 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.

About

Stelace API server plugin implementing search filter DSL for advanced searches

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •