Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

CryptoDevelopmentServices/YieldFields_Info_API

Repository files navigation

YieldFields API

The YieldFields API is a set of endpoints used by market aggregators (e.g. coinmarketcap.com) to surface YieldFields liquidity and volume information. All information is fetched from the underlying subgraphs.

Development

Install requirements

yarn global add vercel

Build

# Install dependencies
yarn

# Build project
vercel dev

Endpoints are based on filename inside the api/ folder.

# api/pairs.ts
curl -X GET 'localhost:3000/api/pairs'

# ...

Production

Deploy

Deployments to production are triggered by a webhook when a commit, or a pull-request is merged to master.

If you need to force a deployment, use the following command:

vercel --prod

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published