Run following command in project root
yarn buildIn chat-example-server directory run following command
yarn installFor 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 startyarn deploy
# or
npm run deployUpdate REACT_APP_LAMBDA_WEBSOCKET_URI inside chat-example-app/.env with your new endpoint from serverless deployment.