Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 1.89 KB

README.md

File metadata and controls

56 lines (38 loc) · 1.89 KB

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