Skip to content

Latest commit

 

History

History
32 lines (17 loc) · 1021 Bytes

README.md

File metadata and controls

32 lines (17 loc) · 1021 Bytes

Autocomplete search with Nestjs, Elasticsearch and Vue

Setup project

How to setup local

Install Docker

    git clone https://github.com/kop7/nest-elasticsearch-vue.git [project-name]  
    cd [project-name]/server && cp .env.example .env   
    run `npm install` into client and server directories
    docker-compose -f dev.yml build
How to find elasticsearch url
    docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' nest-elasticsearch

Replace the given dockerIp with ELASTICSEARCH_NODE=http://dockerIp:9200 in .env

Start project

  docker-compose -f dev.yml up

Go to http://localhost:8080/home

"Buy Me A Coffee"