Credits - Main Repo
Required AWS account & AWS CLI
on the system.
- Clone the Repo
- Run on any terminal to configure the Express Stack
npm run config -- --account-id="<accountId>" --stack-name="<cloudfrontstackName>" --bucket-name="<bucketName>" [--region="<region>" --function-name="<functionName>" ]
. - Run
npm run setup
(Windows User:npm run win-setup
) this installs the node dependencies, creates an S3 bucket (if it does not already exist), packages and deploys your serverless Express application to AWS Lambda, and creates an API Gateway proxy API.
Node.js version 12.x