prabz / reactjs-cognito-starter

Starter project for ReactJS + Amazon Cognito + Amazon Amplify Framework

Home Page:https://medium.com/@budilov/building-a-serverless-podcast-search-engine-on-aws-part-1-f6e58fbc3c06

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ReactJS + Amazon Cognito + Amazon Amplify Framework Starter Project

Author: Vladimir Budilov

Use this project to quickly get started with ReactJS + Amazon Cognito.

Update the Cognito configuration

First and foremost, create a Cognito User Pool. Then open 'src/configs/aws-configs.js' and update the aws_user_pools_id and the aws_user_pools_web_client_id properties.

const awsConfig = {
    aws_app_analytics: 'enable',

    aws_user_pools: 'enable',
    aws_user_pools_id: 'us-east-1_x',
    aws_user_pools_mfa_type: 'OFF',
    aws_user_pools_web_client_id: 'x',
    aws_user_settings: 'enable',
};

export default awsConfig

Build the project and run it locally (the default url is 'http://localhost:3000')

yarn install && yarn start

Build for PRD

yarn build

Screenshots

About

Starter project for ReactJS + Amazon Cognito + Amazon Amplify Framework

https://medium.com/@budilov/building-a-serverless-podcast-search-engine-on-aws-part-1-f6e58fbc3c06


Languages

Language:JavaScript 95.3%Language:HTML 3.4%Language:CSS 1.3%