Skip to content

API for statistics on the Solace Coverage Protocol

Notifications You must be signed in to change notification settings

solace-fi/solace-stats

Repository files navigation

solace-stats

API for statistics on the Solace Coverage Protocol

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 local start-api -p 3001
curl http://localhost:3001/SOLACE/totalSupply/

To deploy to AWS:

sam build --use-container
sam deploy

endpoint

curl https://stats.solace.fi/SOLACE/totalSupply/
axios.get("https://stats.solace.fi/SOLACE/totalSupply/")

About

API for statistics on the Solace Coverage Protocol

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published