This microservice grabs a free eBook from Packt every day. It relies on the AWS Lambda service and Serverless 1.0 for deployment.
Steps of deploying the service:
- Install Serverless 1.0:
npm install serverless -g
- Clone this repository:
git clone git@github.com:mtyiu/sls-grab-packt.git
- Install all dependencies:
npm install
- Put your Packt login credentials in
.env
- Deploy the service:
serverless deploy
Then the service will be executed daily, and the free e-Book will be grabbed to your Packt account.
By Matt YIU, Man Tung (https://mtyiu.github.io/)
Inspired by https://github.com/draconar/grab_packt