ticithub-refdata-api

1.0.1 • Public • Published

Refdata

Generic reference data service

Runnig as a docker container

  1. Clone this repository:
git clone git@github.com:TICitHub/refdata.git
  1. Clone your reference data repository or get the reference data objects from some other location on the file system:
git clone https://github.com/TICitHub/reference-data-objects.git
or
cp -r /mnt/shared/reference-data-objects reference-data
  1. Copy reference data into the working directory:
cp -r ./reference-data/schema ./schema
cp -r ./reference-data/data ./data
  1. Build docker container
docker build .

Runnig in development (standalone) mode

  1. Clone this repository:
git clone https://github.com/TICitHub/refdata.git
  1. Clone your reference data repository or get the reference data objects from some other location on the file system:
git clone https://github.com/TICitHub/reference-data-objects.git
or
cp -r /mnt/shared/reference-data-objects reference-data-objects
  1. Setup environment variables (or create a .env file)
cd refdata

export SERVICE_PORT=3101
export NODE_ENV=dev
export SCHEMA_LOCATION=../reference-data-objects
export DATA_LOCATION=../reference-data-objects/data
  1. Install dependencies
npm i
  1. Run service
npm run standalone

Readme

Keywords

none

Package Sidebar

Install

npm i ticithub-refdata-api

Weekly Downloads

0

Version

1.0.1

License

Apache 2.0

Unpacked Size

20.4 kB

Total Files

14

Last publish

Collaborators

  • rhalldearn-nav