Skip to content

homebab/app-client

Repository files navigation

  ____  ____  ____          __  _      ____    ___  ____   ______ 
 /    ||    \|    \        /  ]| |    |    |  /  _]|    \ |      |
|  o  ||  o  )  o  )      /  / | |     |  |  /  [_ |  _  ||      |
|     ||   _/|   _/      /  /  | |___  |  | |    _]|  |  ||_|  |_|
|  _  ||  |  |  |       /   \_ |     | |  | |   [_ |  |  |  |  |  
|  |  ||  |  |  |       \     ||     | |  | |     ||  |  |  |  |  
|__|__||__|  |__|        \____||_____||____||_____||__|__|  |__|  
                                                                  

A cross platform capable of driving both Android and IOS services with React Native

Get Started

Test

$ npm install -g expo-cli
$ yarn add expo
$ expo start

Deploy

Android

  • play store
# android 
$ expo build:android

IOS

$ expo build:ios

Integration with AWS Amplify

$ 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 |

Auth

  • support only for a social(Google, Facebook, Apple) login with Oauth
    • Google
    • Facebook
    • Apple

DataStore (API GraphQL)

$ 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)
}

Analytics

Screenshots

v0

  • itemList, RecipeList, RecipeDetail, AddItem

Releases

No releases published

Packages

No packages published