Skip to content

Serverless functions for the Treasure ecosystem

License

Notifications You must be signed in to change notification settings

TreasureProject/treasure-functions

Repository files navigation

Treasure Functions

Serverless functions for the Treasure ecosystem

Development

Pre-requisites

  • Node v20+

Setup

Install dependencies:

npm install

Create an environment variables file based off the example and fill in with your values:

cp .env.example .env

Run

Invoke any function locally by replacing functionName in the following command:

serverless invoke local -f functionName

Deploy

Merge changes to main branch to automatically deploy to Treasure's AWS instance via GitHub Actions. Changes will be visible in ~5 minutes after cache expires.

About

Serverless functions for the Treasure ecosystem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published