1
0
Fork 0
mirror of https://github.com/52North/ecmwf-dataset-crawl synced 2025-03-12 16:00:54 +01:00
ecmwf-dataset-crawl/controller
2018-09-14 11:12:19 +02:00
..
src show query score in result list 2018-09-14 11:12:19 +02:00
.dockerignore controller: add boilerplate (docker, yarn, ...) 2018-05-18 16:03:55 +02:00
.gitignore add Crawl model & convert it to JSON schema for swagger 2018-05-25 14:31:48 +02:00
Dockerfile document api key setup, closes #23 2018-06-13 14:06:20 +02:00
package.json restrict google results to specified country by default 2018-08-31 10:43:12 +02:00
README.md fix docker build of controller 2018-08-02 13:47:53 +02:00
swagger.yaml allow to filter result subset of the original crawl langs 2018-08-27 10:18:23 +02:00
testcrawl.json restrict google results to specified country by default 2018-08-31 10:43:12 +02:00
tsconfig.json fixup! controller: use typescript 2018-05-25 10:21:54 +02:00
tslint.json set up linter 2018-05-28 09:38:32 +02:00
yarn.lock update dependencies 2018-09-06 15:54:04 +02:00

ecmwf-dataset-crawl controller

Component responsible for management of crawls + communication with frontend

Contains business logic for

  • creating / starting / crawls
  • generating seed URLs for a crawl from keyword list

Provides an HTTP API for crawl management + result retrieval.

howto build

see Dockerfile

howto dev

# configure custom config options via environment variables, see src/config
vi .env

# continuously compile typescript
yarn build:watch

# run with hot reload
yarn start:dev

# lint code
yarn lint

note that for a successful build, the app may not have any type errors, as npm run build:types will fail otherwise!