KyleLawson16 / shelfie-frontend-ios

React-Native mobile app frontend for Shelfie Challenge IOS

Home Page:https://itunes.apple.com/us/app/shelfie-challenge/id1355136192?mt=8

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ShelfieChallenge IOS Frontend

Built with React Native and Ant Design Mobile

Table of Contents:

Amazon S3

  • Bucket Name: "shelfie-challenge"
  • Region: US West (N. California)
  • Upload media using react-native-aws3
  • File Tree:
    • shelfie-challenge
      • posts
        • photos
        • videos
      • teams
        • logos

Posts

  • Url stored in api ShelfiePost.Post
  • Naming convention:
    • '<random_game_id>-<randomly_generated_id>'

Users

  • Url stored in api ShelfieUser.User
  • Naming convention:
    • '<random_user_id>-<randomly_generated_id>'

Clone repository:

git clone https://github.com/KyleLawson16/shelfie-frontend-ios.git

Install dependencies:

yarn install

Available scripts:

react-native start
react-native run-ios
react-native run-android

Uses:

  • start -- starts metro bundler
  • run-ios -- builds ios bundle and launches simulator
  • run-android -- builds android and launches simulator

Root Directory:

index.js
  • Registers app
App.js
  • Renders AppNavigation
  • Initiates redux store
AppNavigation.js
  • Serves as main file where user-flows belong
  • Includes:
    • Authentication flow
    • Post Submission flow
    • BottomNavbar flow
    • TopNavbar flow
  • Manipulated through props passed upward by children
styles.js
  • Includes all styles within app
  • Organized by container (specified in comments)

Containers/Components:

Pages
  • GamePage
    • UserPage
      • ChallengeSubmission
      • UserForm
      • UserInfo
      • UserSubmissions
      • UserSubmission
    • GameInfo
    • GameNavbar
      • FeedPage
        • ChallengeSubmission
      • ChallengePage
        • ChallengeCarousel
      • LeaderboardPage
        • LeaderboardItem
      • PrizePage
        • PrizeCarousel
  • GamesPage
    • GameItem
  • LandingPage
    • SignIn
    • SignUp
  • SubmissionPage
    • SubmissionCamera
    • SubmissionPost
  • UserPage
    • ChallengeSubmission
    • UserForm
    • UserInfo
    • UserSubmissions
    • UserSubmission
    • ProfilePicture
  • NotificationsPage
    • NotificationItem
Navigation
  • BottomNavbar
  • TopNavbar
  • GameNavbar

Actions

  • createUser
  • loginUser
  • logoutUser
  • fetchUser
  • fetchGames
  • createPost
  • fetchPosts
  • updatePost
  • deletePost
  • fetchLeaderboard
  • fetchPrizes
  • addLike
  • deleteLike
  • addFollower
  • deleteFollower
  • joinGame
  • updateProfilePicture
  • fetchNotifications

This project was bootstrapped with Create React Native App.

About

React-Native mobile app frontend for Shelfie Challenge IOS

https://itunes.apple.com/us/app/shelfie-challenge/id1355136192?mt=8


Languages

Language:JavaScript 94.2%Language:Objective-C 3.0%Language:Java 1.3%Language:Python 1.2%Language:Ruby 0.4%