Skip to content

Server side Autocomplete example with Express.js, Elasticsearch and Docker

Notifications You must be signed in to change notification settings

albert-gonzalez/express-autocomplete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express Autocomplete Server

Server side Autocomplete example with Express.js, Elasticsearch and Docker. Frontend side done with vue.js and Foundation. The example game list is from GiantBomb

Install

  • clone this repo
  • cd name-of-the-project-folder
  • Run the containers with docker-compose up
  • Create the elasticsearch schema and load the documents with elasticsearch/script/init.sh
  • Build the frontend app with docker-compose exec node npm run build
  • open http://localhost:8888 in the browser to try the example

Server Endpoints

  • /api/load: Load the documents from the file node/app/data/games.json
  • /api/autocomplete: Search in the elastic index
  • /: Autocomplete example page

About

Server side Autocomplete example with Express.js, Elasticsearch and Docker

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published