Skip to content

y2kpr/eweekapp

Repository files navigation

EWeek App 2017

This is the entire source code of the official EWeek app of 2017 which is not available yet.

This project is built on top of a fork of F8 app made by Facebook. Thank you for letting us use this!

How We Build It

Facebook created a series of tutorials at makeitopen.com that explain how they built the app, and that dives into using 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 (if you want to run Parse Server locally)

Setup

  1. Clone the repo
$ git clone https://github.com/y2kpr/eweekapp.git
$ cd eweekapp
  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

If react-native command is not recognized, run npm install -g react-native-cli to install it.

  1. Running on iOS:
$ react-native run-ios

Troubleshooting

Could not connect to development server

In a separate terminal window run:

$ react-native start

About

Official UT LEA EWeek App made on React-Native

Resources

License

Stars

Watchers

Forks

Packages

No packages published