AWS Serverless Sapper
Boilerplate template for a universal Sapper app running on top of AWS Lambda and Amazon API Gateway.
Build/deploy
npm install
npm run config -- \
--account-id="<accountId>" \
--bucket-name="<bucketName>" \
--hostname="<hostname>" \
--certificate-id="<certificateId>" \
[--region="<region>"]
npm run setup
Local sandbox
API_BASE_URL=<APIG URL> npm run dev
Known issues
- 🐛 invalid client asset URLs
- 😖 hack: Lambda can only
fetch
from non-local/absolute URLs