Quick start full stack application on AWS: TypeScript Express Lambda API, and Vue 3 on Cloudfront
- Copy
sample.envto a new file called.env. Replace the values as needed. NOTE: APP_NAME will determine the name of the CloudFormation stack, so it's important to stick with the same name after initial deployment. - For
AWS_ACM_CERTIFICATE_ARNmake sure you request a cettificate that covers bothAPI_DOMAIN_NAMEas well asFRONTEND_DOMAIN_NAME - For local development run
npm start. - To deploy a production instance, run
npm run deploy
Use the AWS SSM Parameter Store for configuring application secrets. Use the pattern: /<STAGE>/<APP_NAME> (the IAM policy is configured in serverless.yml to allow the Lambda function(s) to access these secrets).