muffin-rewards / lambda-rewards-list

Lists DynamoDB reward resources.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


Languages

Language:JavaScript 100.0%