____ ____ ____ __ _ ____ ___ ____ ______
/ || \| \ / ]| | | | / _]| \ | |
| o || o ) o ) / / | | | | / [_ | _ || |
| || _/| _/ / / | |___ | | | _]| | ||_| |_|
| _ || | | | / \_ | | | | | [_ | | | | |
| | || | | | \ || | | | | || | | | |
|__|__||__| |__| \____||_____||____||_____||__|__| |__|
A cross platform capable of driving both Android and IOS services with React Native
$ npm install -g expo-cli
$ yarn add expo
$ expo start
- play store
# android
$ expo build:android
$ expo build:ios
- install and configure
$ amplify status
Current Environment: dev
| Category | Resource name | Operation | Provider plugin |
| --------- | --------------- | --------- | ----------------- |
| Auth | homebabf581fe92 | No Change | awscloudformation |
| Api | homebab | No Change | awscloudformation |
| Analytics | homebab | No Change | awscloudformation |
- support only for a social(Google, Facebook, Apple) login with Oauth
- Apple
- supported on offline
amplify codegen models
generate models inmodel/
by amplify graphql scheme
$ amplify codegen models
GraphQL schema compiled successfully.
Edit your schema at /Users/jinhoon.bae/Projects/homebab/app-client/amplify/backend/api/homebab/schema.graphql or place .graphql files in a directory at /Users/jinhoon.bae/Projects/homebab/app-client/amplify/backend/api/homebab/schema
- interact with amplify datastore using the models
import {Item as ItemModel} from "../models";
async function fetchItems() {
const items = await DataStore.query(ItemModel)
}
- Amazon Pinpoint Analytics with Amazon Cognito User Pools
- Region mapping ap-northeast-2 to ap-northeast-2 is not supported yet.(ap-northeast-2 to us-east-1)
- So, pinpoint analytics is used only for user tracking. Then, use ap-northeast-2 kinesis for other analytics.
- itemList, RecipeList, RecipeDetail, AddItem