GithubHelp home page GithubHelp logo

wangcrystal / react-native-nba-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wwayne/react-native-nba-app

0.0 2.0 0.0 2.73 MB

This is why we play

License: MIT License

Java 0.84% JavaScript 35.80% Objective-C 63.10% Swift 0.26%

react-native-nba-app's Introduction

This is why we play

js-standard-style Circle CI

group

Info

Demonstration

Games

game game_android

Players

player player_android

Teams

team team_android

Develop

iOS

  1. $ npm install
  2. $ npm run clean react-native unsupport for .babelrc since 0.16, so you have to remove all .babelrc in your project(includes packages)
  3. $ npm start
  4. Open your Xcode, select a simulator, click the play button or cmd + R

Android

  1. Same to official doc
  2. $ react-native run-android
  3. It's a bit complicated to those who are not familiar with Android development, like me

Design

The design is made by Sketch, you can find the original design file in Dropbox, it may help if someone wants to design new features.

Run in device

iOS:

  1. Check the official doc first, the following steps are based on official doc

  2. Comment console in lib/middleware/logger.js, because native environment doesn't support for console.group

  3. Generate js bundle: $ react-native bundle --entry-file index.ios.js --platform ios --bundle-output ./main.jsbundle

  4. Add js bundle into your project: open Xcode, select Files -> Add Files to... -> select the main.jsbundle file that just generated

  5. In Xcode, select your device, then click the play button or cmd + R

Android:

I never tried

To Be Continue

  1. Fix UI in Android
  2. Find a better way to organize css
  3. Unit test

License

MIT

react-native-nba-app's People

Contributors

wwayne avatar

Watchers

 avatar  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.