shawnmmatthews / pdf-flow-rate

Serverless framework to generate pdfs from SQS and send them to S3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

You need to download and install serverless framework globally. https://serverless.com/

npm install -g serverless

Setup credentials following this video - https://www.youtube.com/watch?v=KngM5bfpttA

You then need to change the custom bucket name to something unique inside of of serveless.yml

Then do "sls deploy" or "serverless deploy" command inside of the root folder.

If operation is successful you can then do the following.

You can use the following curl command to run this operation.

curl -d '{"text" : "", "filename": ""}' https://.execute-api.us-east-1.amazonaws.com/dev/v1/sender

About

Serverless framework to generate pdfs from SQS and send them to S3

License:MIT License


Languages

Language:JavaScript 100.0%