This project was bootstrapped with Create React App.
$ git clone [email protected]:murajun1978/api-gateway-websocket-react.git
$ cd api-gateway-websocket-react
$ yarn install
-
Deploy sample app
-
Deploy API Gateway
- Copy env file
$ cp .env.sample .env
- Modify websocket url
REACT_APP_WEBSOCKET_URL='wss://{YOUR-API-ID}.execute-api.{YOUR-REGION}.amazonaws.com/{YOUR-STAGE}'
$ yarn start