adds code


In this video I'll show to create a simple service that returns a "Hello World" PDF to the user using the api. Since we're using PDFkit we can customize the pdf to our linking, creating e-tickets, invoices or whatever else makes sense in PDF land. This video illustrates a very simple setup, in a real world you would probably add auth onto the service and make sure to bundle the lambda code properly (manual bundle using perhaps esbuild instead of using Pulumi callback construct) but this is just to show that it's possible in a few steps! Github code: https://github.com/jonasgroendahl/pdf-generator-youtube Pulumi Get started: https://www.pulumi.com/docs/get-started/ Pulumi CLI install:https://www.pulumi.com/docs/install/ Pulumi Serverless template:https://www.pulumi.com/templates/ AWS: https://aws.amazon.com/ AWS Authentication: https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-authentication.html
Previous Post Next Post