/aws-pdf-generator-pipeline

:briefcase: Data pipeline for generating PDFs from HTML files. Built with AWS CDK + TypeScript.

Primary LanguageTypeScriptMIT LicenseMIT

aws-pdf-generator-pipeline

💼 Data pipeline for generating PDFs from HTML files server-rendered using React in AWS Lambda and Puppeteer. Built with AWS CDK + TypeScript.

This is an example data pipeline that illustrates one possible approach for large-scale PDF generation - it should serve as a good foundation to modify for your own purposes.

Getting Started

Run the following commands to install dependencies, build the CDK stack, and deploy the CDK Stack to AWS.

yarn install
yarn build
cdk bootstrap
cdk deploy

Scripts

  • yarn install - installs dependencies
  • yarn build - builds the production-ready CDK Stack
  • yarn test - runs Jest
  • cdk bootstrap - bootstraps AWS Cloudformation for your CDK deploy
  • cdk deploy - deploys the CDK stack to AWS

Notes

  • Includes very basic tests with Jest.

Built with

Additional Resources

License

Opens source under the MIT License.

Built with ❤️ by aeksco