Elastic Search Example
July 17, 2018 ยท View on GitHub
Example of elastic search integration. Based on Node.js + Koa and Angular 5 on Front-End.
Installation
- Install PostgreSQL and Elastic Search (no additional configuration is required);
- Run in both client and server folders:
npm install - In server folder run in the following order:
Don't forget that you can customize those scripts for your own needs (setData especially, probably you want to decrease number of entries).node database/scripts/initDb.js node database/scripts/initTables.js node database/scripts/setData.js
Start
- Run in client folder:
npm run bundle - Run in server folder:
NODE_ENV=production node index.js
Usage
- Visit http://localhost:8001;
We are looking forward to meeting you on our website https://soshace.com