A Typescript microservice starter project deployed in AWS.
cd code
npm install
npm run test
sam local start-api
Configure AWS Key and secret on your machine or use aws sso cli instructions
Then run
sam build -t infrastructure/main.yml
sam deployThe stack output has your deployed target url.

So, this GET request...
https://ldlxp3k75a.execute-api.us-east-2.amazonaws.com/v0/things
Should return
[{"name":"ThingOne","status":"New","code":"fake","id":"1"}]
- If you don't want to confirm the changeset, set "confirm_changeset" to false
- Remember to add the Cloudwatch logging role to api gateway, RestApiStage will error with "Logs role ARN must be set in account setting to enable logging" if you forgot.