Skip to content

isogeo/dcat-server

Repository files navigation

DCAT Server

Builds Deployments
Build Status Build Status

DCAT server for Isogeo

Deployments

Environment URL
Prod https://dcat.isogeo.com/

Prerequisites

  • Node.js 14+
  • yarn

Local configuration

Environment variables are defined in a .env file. Copy .env.sample to .env and fill in the values.

Variable Description Default
ISOGEO_API_URL Isogeo API base URL https://api.isogeo.com/v1
ISOGEO_TOKEN_URL Isogeo token issuing URL https://id.api.isogeo.com/oauth/token
ISOGEO_CLIENT_ID Application client ID
ISOGEO_CLIENT_SECRET Application client secret
ISOGEO_OPEN_URL Isogeo Open Catalog URL https://open.isogeo.com
DCAT_SERVER_URL Public URL of the DCAT server http://localhost:5000
PORT HTTP listening port 5000
GDP_API_URL Geodata Process API URL https://geodataprocess.api.isogeo.com/api
ISOGEO_APP_URL Isogeo application URL https://app.isogeo.com

Installation

yarn          # dev

# or

yarn --prod   # production

Available scripts

Command Description
yarn start Start the server
yarn test Run unit tests (ava)
yarn lint Run linter (xo)

Major libraries

Library Description
Express HTTP server framework
got HTTP client
cors CORS middleware
dotenv Environment variables loader
lodash Utility library
morgan HTTP request logger
JSONStream Streaming JSON parser
pumpify Stream pipeline combiner

Documentation

The DCAT feed for a given Isogeo share is available at: http://localhost:5000/:shareId/:urlToken

Useful links

About

Serveur DCAT pour Isogeo

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors