Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 803 Bytes

Readme.md

File metadata and controls

33 lines (26 loc) · 803 Bytes

Ponty example

Quick start:

docker-compose up

Now you can browse to: http://localhost:9200/ponty/_search?q=.NET

This example does

  1. Fetch job adverts as json from external service
  2. Insert job adverts into Elasticsearch
  3. Fetch images in adverts
  4. Scale image to 300x300 and store as file using a node module.

This example shows the following techniques

  • Using a scheduler
  • Split an json array into separate documents
  • Invoking a binary node module
  • Dockerfile example using npm
  • Docker-compose file with elasticsearch
  • Typescript 2.0
  • Using plugins

Docker images

This repo contains a docker-compose.yml file with Foopipes and Elasticsearch.

Typescript modules are transpiled during start of the Foopipes container.

Start with:

docker-compose up