Skip to content

dbritto-dev/aws-lambda-puppeteer-bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boilerplate for a Puppeteer on AWS Lambda


🚀 Bootstrap your Puppeteer function within seconds
Basic starter kit for Puppeteer on AWS Lambda

Requirements

Yarn to install npm packages:

npm install -g yarn

Getting started

# 1. Clone the project
git clone https://github.com/danilobrinu/aws-lambda-puppeteer-bootstrap.git

# 2. Navigate to the new project
cd aws-lambda-puppeteer-bootstrap

# 3. Install npm packages
yarn install

# 4. Code and upload to AWS Lambda
# zip the content of the dir and upload to AWS Lambda

Note: If the zip size is more than 10mb you need upload the zip to s3 and use the link in your AWS Lambda

Documentation

Project structure

File name                Description         
├── .editoconfig Use this file to configure your editor
├── .gitignore User this file to configure ignore files by git
├── .prettierc Use this file to configure the prettier formatter
├── index.js The template for your AWS Lambda function
├── package.json The npm package list
├── README.md The documentation
└── yarn.lock The yarn lock file

Contributing

Your feedback is very helpful, please share your opinion and thoughts! If you have any questions or want to contribute yourself.