NodeJS API for horse link https://api.horse.link
This project allows users to create a signed data to add to Horse Link dapps.
The api returns market odds, along with other properities such as expiry and nonce. Each subsequent request is resigned by the market owners key.
The market ID is an arbitary identify
cp .env.development .env
yarn install
yarn start
docker container ls -a
docker build -t horselinkapi .
docker run -p 49160:3000 -d horselinkapi
or from Docker
docker run -it --rm -d -p 127.0.0.1:8080:80 --name web -v ~/GitHub/horse-link/api.horse.link/src:/usr/share/
nginx/html nginx
docker run -it --rm -d -p 127.0.0.1:8080:80 --name web webserver