Has a ton of server + client implementation using following technologies:
- Node JS
- Express JS
- Socket IO
- React
- Redux
- Amazon AWS Cognito
I built a socket io based client to server communication system using a middleware architecture. This can be used to authenticate user requests for every socket io call using Cognito for reference.
- node version > 10.1.x
- Create secret.json in the root folder of this application with following data
{
"amazon_aws_cognito": {
"region": "",
"UserPoolId": "",
"ClientId": ""
}
}
Make sure to update the above configuration with your AWS Cognito account settings.
npm i
npm start
Then navigate to:
We can easily run this on https with a few line change in bin/www.