Basic usage of amazon-cognito-identity with, React, React Router v4, Redux and the npm ecosystem. You can use it as a boilerplate for your next kickass AWS-based ES6 serverless react/redux site.
- Configure
npm install
to install dependenciesnpm start
to start a development webservernpm run build
to create an optimized static site, ready for deployment, inwebroot/
.
- Create an app for your user pool. Note that the generate client secret box must be unchecked because the JavaScript SDK doesn't support apps that have a client secret.
- Add your AWS credentials into the settings file located /src/config/settings.js
- Install all the dependencies with
npm install
- Run the app with
npm start
, and click the links.