Skip to content

searchkit/searchkit-express

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Searchkit Express

Example of using Searchkit with Express.js to proxy frontend search requests to Elasticsearch.

Setup

  1. Install dependencies
npm install
  1. Update the Searchkit configuration in index.js with the connection and search_settings for your search experience.

  2. Start server. This will start the server on port 3000.

npm start
  1. Update the url in @searchkit/instantsearch-client configuration to point to the server
const searchClient = SearchkitInstantSearchClient({
  url: "http://localhost:3000/api/search"
})

About

Elasticsearch express middleware

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published