Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kop7/nest-elasticsearch-vue
Autocomplete search with Nestjs, Elasticsearch and Vue
https://github.com/kop7/nest-elasticsearch-vue
autocomplete elasticsearch javascript nest typescript vue
Last synced: 26 days ago
JSON representation
Autocomplete search with Nestjs, Elasticsearch and Vue
- Host: GitHub
- URL: https://github.com/kop7/nest-elasticsearch-vue
- Owner: kop7
- Created: 2020-08-12T18:28:26.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-11-17T10:23:24.000Z (about 1 year ago)
- Last Synced: 2024-08-03T16:08:23.646Z (4 months ago)
- Topics: autocomplete, elasticsearch, javascript, nest, typescript, vue
- Language: TypeScript
- Homepage: https://dev.to/kop7/how-to-build-autocomplete-search-with-nestjs-elasticsearch-and-vue-12h8
- Size: 584 KB
- Stars: 51
- Watchers: 2
- Forks: 12
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-nestjs - NestJS Elasticsearch Vue - Autocomplete search with NestJS, Elasticsearch and Vue. (Resources)
README
# Autocomplete search with Nestjs, Elasticsearch and Vue
![](https://i.ibb.co/cw45tyM/vue-nest-elastic-1.jpg)
## Setup project
### How to setup local[Install Docker](https://docs.docker.com/v17.09/engine/installation/)
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`![](https://media.giphy.com/media/dVcFFjF3hXihQNnxAS/giphy.gif)
[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/mkop)