HritikR / api.horse.link

NodeJS API for horse link

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:JavaScript 94.7%Language:Dockerfile 2.7%Language:HTML 2.5%