/elastic-search-example

Example of configured sever with Elastic Search integrated. (Node + Koa, Angular 5 on Front-End)

Primary LanguageTypeScript

Elastic Search Example

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:
    node database/scripts/initDb.js
    node database/scripts/initTables.js
    node database/scripts/setData.js
    Don't forget that you can customize those scripts for your own needs (setData especially, probably you want to decrease number of entries).

Start

  • Run in client folder:
    npm run bundle
  • Run in server folder:
    NODE_ENV=production node index.js

Usage

We are looking forward to meeting you on our website https://soshace.com