This is a trimmed down API with some useful endpoints for grabbing data about any wallet or objkt.
Run npm install
in the root and the lambdas directory.
Get an api key from https://nautilus.cloud/ and add it to the .env (copy the .env.example to .env).
Run cdk deploy
(Requires AWS Account is set up and cdk is configured.
See: https://docs.aws.amazon.com/cdk/latest/guide/getting_started.html and https://cdkworkshop.com/)
After deploying the CDK the following endpoints will be available. The url is the provided after a successful deploy
GET {{url}}/creations/{{walletId}}
Accept: application/json
###
GET {{url}}/collections/{{walletId}}
Accept: application/json
###
GET {{url}}/swaps/{{walletId}}
Accept: application/json
###
GET {{url}}/objkts/{{objktId}}
Accept: application/json
###
npm run build
compile typescript to jsnpm run watch
watch for changes and compilenpm run test
perform the jest unit testscdk deploy
deploy this stack to your default AWS account/regioncdk diff
compare deployed stack with current statecdk synth
emits the synthesized CloudFormation template