App pushes POST payload to google spreadsheet.
- AWS Sign in https://console.aws.amazon.com/console/home
- Install Node.js https://nodejs.org/en/
npm install serverless -g- Follow video to get credentials: AWS credential setup for Serverless
- It should lead to:
serverless config credentials --provider aws --key <...AKIAIOSFO..> --secret <....EMI/K7MDENG/bPxRfiCYE...> - Setup your app in
users/config/default.jsserviceKeyit's Service Account follow this instructionsspreadsheetkey should be docs.google.com/spreadsheets/d/11Sso5yOjzpF_xxxxV1f24IWwjVl5uZMDNXlbtmXIBFc/edit#gid=0- Make sure that you have
JSONcolumn in the google spreadsheet. (First line of spread sheet) - If you need separated fields in the google spreadsheets like
firstName,lastName,emailjust add column names
- Make sure that you have
- Install dependencies
cd users && npm install - Deployment:
cd users && serverless deploy - It will give you endpoint to POST
- for ex.
https://j66dyaz0de.execute-api.us-east-1.amazonaws.com/dev/users
- for ex.
- Now you can post and payload will be saved into JSON column.
- To see logs:
serverless logs -f users-create
- AWS Sign in https://console.aws.amazon.com/console/home
- Follow video to get credentials: AWS credential setup for Serverless
- It should lead for getting
AWS_ACCESS_KEY_IDandAWS_SECRET_ACCESS_KEY- https://serverless.com/framework/docs/providers/aws/guide/credentials/
- make sure that you gave
AdministratorAccesspermissions for your user.
- Setup your app in
users/config/default.js docker-compose run users- it will give users console for younpm install- install dependenciesAWS_ACCESS_KEY_ID=...IGFSOWXLRPYAM... AWS_SECRET_ACCESS_KEY=...ybvBuURG3CmWrNbIiQ+PbsEFfSFt4tY4e.... serverless deploy -s production- it should deploy your app to
- Copy endpoint and use it.

