Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 864 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 864 Bytes

HackernewsLambda

A lambda deployed with serverless to email yourself daily with the job postings on hackernews

How to run

First you will need to configure AWS to do so create an AWS account and navigate to SES, from here follow the guide to setting up a verified email with SES: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/setting-up-email.html

In Serverless.yml under the environment section for the hackernews function change the value of email address to be the verified email in SES.

Finally running serverless deploy and then serverless invoke local --function hackernews will make your application work if you have exported AWS credentials to add your AWS credentials to your command line. Then, follow the AWS docs again: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html

TODO: Unit testing