@lde/search-api-server
v0.15.4
Published
The served @lde/search API as a bootable process and prebuilt Docker image: loads a mounted schema-declaration module and Typesense connection details from the environment, then serves /graphql (execution, playground, SDL) plus /health over node:http. The
Readme
@lde/search-api-server
The served @lde/search API as a bootable process and prebuilt
Docker image: mount a schema-declaration module, point it at Typesense, and it
serves /graphql – POST execution, the self-contained playground, the SDL –
plus /health, with CORS and depth/cost limits on by default.
Installation
npm install @lde/search-api-serverdocker run --publish 4000:4000 \
--volume "$(pwd)/search-schema.mjs:/config/search-schema.mjs:ro" \
--env TYPESENSE_HOST=typesense.internal \
--env TYPESENSE_API_KEY=search-only-key \
ghcr.io/ldelements/search-api-serverDocumentation
See the full documentation.
