Skip to content

muffin-rewards/lambda-reward-verifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Lambda: Apply For Reward

Checks the APIs for if a competition has been entered.

The event object has to be of following structure:

event.Records[0].Sns.message = {
    ...
    "token": String,
    "id": String
}

Enviroment variables

  • DDB_REWARDS_TABLE with information about rewards.
  • DDB_ENTRIES_TABLE with information about past rewards claims.

Deployment

Deploy with npm run deploy:{env}.

Tests

Yet to be written.

About

Verifies that a user posted about promoter on IG.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published