mirror of
https://github.com/52North/ecmwf-dataset-crawl
synced 2025-03-12 16:00:54 +01:00
.. | ||
src | ||
.dockerignore | ||
.gitignore | ||
Dockerfile | ||
package.json | ||
README.md | ||
swagger.yaml | ||
testcrawl.json | ||
tsconfig.json | ||
tslint.json | ||
yarn.lock |
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!