AWS Documentation - Headstorm/awok GitHub Wiki
Welcome
How to
How to deploy backend AWS
Go to the awoke-backend-lambda folder within the repo Make your changes Install Docker to run backend locally
Local Deploy and testing
- sam build
- sam local start-api -d 5858 --region us-east-1 Then you can go to Postman to try out the different API calls locally before pushing to Production
Prod Deploy
- sam build
- sam deploy
If there are AWS Permissions issues, you go into AWS
- Go to AWS Lambda
- Select the function that you need to update the permissions for
- Go to the Permissions tab
- Click the Role Name which pops open another tab
- Expand the Inline policy row in the permissions table
- Click the database DynamoDB
- Edit Policy allows for you to add/modify permissions based on the error received