Run following command in project root
yarn build
In chat-example-server
directory run following command
yarn install
For local development we'll use serverless-offline, serverless-dynamodb-local
If you run this for the first time, please install local dynamodb first using yarn install:dynamodb
command.
yarn start
yarn deploy
# or
npm run deploy
Update REACT_APP_LAMBDA_WEBSOCKET_URI inside chat-example-app/.env
with your new endpoint from serverless deployment.