Example of elastic search integration. Based on Node.js + Koa and Angular 5 on Front-End.
- 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
- Run in client folder:
npm run bundle
- Run in server folder:
NODE_ENV=production node index.js
- Visit http://localhost:8001;