Skip to content

kirkstrobeck/redirector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redirector

Handle redirects with AWS API Gateway and Lambdas

# install deps
yarn

# test locally -- update test/* files to test
yarn invoke-local

# deploy
# IMPORTANT: change bucket name in serverless.yml first
yarn deploy

# create json
cp test/redirects.json redirects.json

# get aws on your command line
brew install awscli

# upload to your new s3 bucket
aws s3 cp redirects.json s3://redirector-111222333 # change name

# invoke deployed with test payload
yarn invoke

# check logs
yarn logs

About

Handle redirects with AWS API Gateway and Lambdas

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published