Skip to content

HritikR/api.horse.link

Repository files navigation

api.horse.link

NodeJS API for horse link https://api.horse.link

Introduction

This project allows users to create a signed data to add to Horse Link dapps.

API

The api returns market odds, along with other properities such as expiry and nonce. Each subsequent request is resigned by the market owners key.

Market ID

The market ID is an arbitary identify

Starting

cp .env.development .env
yarn install
yarn start

Building docker

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

Requests

About

NodeJS API for horse link

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published