Skip to content

instamobile/react-native-aws

Repository files navigation

react-native-aws

React Native AWS Starter Project

Description

This project integrates a front-end with React Native framework and a back-end with an AWS Amplify.

APIs Included

  • User authentication (AWS Cognito).
  • GraphQL API
  • Storage using Amazon S3.

App Features

  • 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.

Prerequisites

Configuring the project

  1. Clone this repo to your local machine.
git clone https://github.com/instamobile/react-native-aws.git

cd react-native-aws
  1. Configure AWS Amplify cli.

you will need to configure your Amplify command line interface. click here to find out exactly how to do that

  1. Initialise the AWS Amplify project.
amplify init
  1. Time to deploy your project to AWS.
amplify push

Running the application

  1. Install client dependencies.
yarn install
  1. Install pods for ios
cd ios && pod install && cd ..
  1. Run on ios
npx react-native run-ios
  1. Run on android
npx react-native run-android

Contribute

  • Feel free to contribute to this project.