This repo contains part of my final year project for Applied Computing.
- Clone the repo and run
npm iwith Node 12. - Run
npm run zip-winto build the deployment package. - Set up an AWS Lambda function:
- Create a new function.
- Upload the deployment package (code > upload from .zip file).
- Set the handler to
src/index.handler(code > runtime settings > edit). - Set the timeout to 30 seconds (configuration > general configuration > edit).
- Set up the API with API Gateway:
- Create a new HTTP API > Build.
- Create a new Lambda integration with your Lambda function.
- Under 'Configure routes', create a route with:
- Method: ANY
- Resource Path: /{proxy+}
- Integration target: Your Lambda function name
- Create the API.