Skip to content

muffin-rewards/lambda-rewards-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Lambda: List Rewards

Lists DynamoDB rewards.

Deployment

To deploy for production use npm run deploy:prod.

Enviroment variables

  • REWARDS_TABLE that the rewards are stored in.

Responses

500

Returns a string in body with error information.

200

[
  {
    promoter: String,
    promoterName: String,
    name: String,
    details: String,
    image: String,
    slug: String,
    termsAndConditions: String,
    show: Boolean,
  }
]

About

Lists DynamoDB reward resources.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published