Tweeting app with React Native and Expo using GraphQL with AppSync and AWS Amplify.
This project integrates a React Native front-end with an AWS Amplify back-end that has user authentication (AWS Cognito) and a GraphQL API (AWS AppSync) for CRUD operations between the client and the database (Amazon DynamoDB).
Users can sign up/in to the app.
Users can create posts by pressing the add button, writing inside the Modal, and pressing submit.
Users can like/unlike posts.
Users can delete their own posts.
Users can update the posts feed by:
npm install -g expo-cli
npm install -g @aws-amplify/cli
amplify configure
(link for a step by step video).git clone https://github.com/yhenni1989/Zopher.git
cd Zopher
yarn add aws-amplify aws-amplify-react-native
# or
npm install aws-amplify aws-amplify-react-native
amplify init
Follow the same instructions as below.
amplify add auth
# When prompt, choose: Yes, use the default configuration.
amplify add api
Follow the below configuration.
amplify push
After few minutes of automated operations, the Amplify CLI will create an Amazon Cognito User Pool and Identity Pool to store users crendentials and an AWS AppSync GraphQL API to allow for CRUD operations between client and servers.
yarn
# or
npm install
expo start --ios
# or
expo start --android