Skip to content

zhyian/aws-lambda-prerender

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerendering on AWS Lambda

Instructions to run locally via get request

Add to the serverless.yml in function params

events:
  - http:
    path: /
    method: get

then run

$ npm install 
$ sls offline 

after that you can call the function locally via get request

curl -X GET \
  'http://localhost:3000/dev?url=YOUR_URL' \

To Deploy on AWS

Add your profile in serverless.yml and run

$ sls deploy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%