React Native AWS Starter Project
This project integrates a front-end with React Native framework and a back-end with an AWS Amplify.
- User authentication (AWS Cognito).
- GraphQL API
- Storage using Amazon S3.
- Sign up to the app using emails and password
- Upload profile picture when signing up to the app.
- Sign in to the app with email and password.
- Persistent sign in.
-
Install and configure AWS Amplify CLI
npm install -g @aws-amplify/cli
amplify configure
(link for a step by step video).
- Clone this repo to your local machine.
git clone https://github.com/instamobile/react-native-aws.git
cd react-native-aws
- Configure AWS Amplify cli.
you will need to configure your Amplify command line interface. click here to find out exactly how to do that
- Initialise the AWS Amplify project.
amplify init
- Time to deploy your project to AWS.
amplify push
- Install client dependencies.
yarn install
- Install pods for ios
cd ios && pod install && cd ..
- Run on ios
npx react-native run-ios
- Run on android
npx react-native run-android
- Feel free to contribute to this project.