solace-fi / solace-price-feed

A feed of token prices.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

solace-price-feed

A feed of token prices.

development and deployment

Install the AWS SAM CLI
https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html

To update an existing function, find the handler function in api/.

To create a new function or update the infrastructure, add it as infrastructure as code in template.yaml

You can locally deploy the API and test against it.

sam build --use-container
sam local start-api -p 3001
curl http://localhost:3001/prices1/

To deploy to AWS:

sam build --use-container
sam deploy

endpoint

curl https://price-feed.solace.fi/prices1/
axios.get("https://price-feed.solace.fi/prices1/")

About

A feed of token prices.


Languages

Language:JavaScript 71.5%Language:Python 28.5%