Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 991 Bytes

README.md

File metadata and controls

56 lines (38 loc) · 991 Bytes

Serverless

This project has been generated using the aws-nodejs-typescript template from the Serverless framework.

For detailed instructions, please refer to the documentation.

Prerequisites

Serverless framework
LocalStack

Setup

export DYNAMODB_SHARE_DB=1
yarn

Deployment

LocalStack:

localstack start
yarn dl

AWS:

yarn deploy-dev

Register a user

cd scripts
./create-user.sh [email protected]

Look at the LocalStack container's output to get the confirmation code. An example confirmation code is provided in the following command.

./confirm-user.sh [email protected] 899257

After this step the user should be saved into the DynamoDB table.