Git Product home page Git Product logo

f8app's Introduction

F8 App 2016

This is the entire source code of the official F8 app of 2016, available on Google Play and the App Store.

How We Build It

We've created a series of tutorials at makeitopen.com that explain how we built the app, and that dive into how we used React Native, Redux, Relay, GraphQL, and more.

Requirements

  1. React Native (follow iOS and Android guides)
  • Xcode 7.3 +
  1. CocoaPods (only for iOS)
  • Version 1.0+ recommended (gem install cocoapods --pre)
  1. MongoDB (needed to run Parse Server locally)
  2. Visual Studio 2015 Community (only for Windows)
  • Install Tools (1.4) and Windows 10 SDK (10.0.10586)

Setup

  1. Clone the repo
$ git clone https://github.com/fbsamples/f8app.git
$ cd f8app
  1. Install dependencies (npm v3+):
$ npm install
$ (cd ios; pod install)        # only for iOS version
  1. Make sure MongoDB is running:
$ lsof -iTCP:27017 -sTCP:LISTEN

NOTE: if installed with Homebrew run brew info mongo and check out the Caveats section.

If you prefer to use an external MongoDB server, set DATABASE_URI:

$ export DATABASE_URI=mongodb://example-mongo-hosting.com:1337/my-awesome-database
  1. Start Parse/GraphQL servers:
$ npm start
  1. Import sample data (the local Parse Server should be running):
$ npm run import-data

Make sure everything works by visiting:

  1. Running on Android:
$ react-native run-android
$ adb reverse tcp:8081 tcp:8081   # required to ensure the Android app can
$ adb reverse tcp:8080 tcp:8080   # access the Packager and GraphQL server
  1. Running on iOS:
$ react-native run-ios
  1. Running on Windows:
  • Run react-native start from the Git root.
  • Open windows/F8v2.sln in Visual Studio 2015.
  • Set the F8v2 project as your StartUp Project in Visual Studio.
  • Choose the proper configuration (e.g., Debug), platform (e.g., x86), and deploy target (e.g., Local Machine).
  • Build and run the solution (i.e., press F5)

f8app's People

Contributors

damusnet avatar ebragge avatar frantic avatar jpros avatar mattpodwysocki avatar rozele avatar tetra2000 avatar tylergibson avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.