{"id":13476640,"url":"https://github.com/wwayne/react-native-nba-app","last_synced_at":"2025-04-08T08:11:58.450Z","repository":{"id":79177587,"uuid":"47007090","full_name":"wwayne/react-native-nba-app","owner":"wwayne","description":"This is why we play","archived":false,"fork":false,"pushed_at":"2019-10-20T03:53:38.000Z","size":2796,"stargazers_count":2224,"open_issues_count":8,"forks_count":510,"subscribers_count":100,"default_branch":"master","last_synced_at":"2025-04-01T05:33:23.606Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wwayne.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2015-11-28T02:30:45.000Z","updated_at":"2025-03-30T14:00:23.000Z","dependencies_parsed_at":"2023-03-09T01:16:08.260Z","dependency_job_id":null,"html_url":"https://github.com/wwayne/react-native-nba-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwayne%2Freact-native-nba-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwayne%2Freact-native-nba-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwayne%2Freact-native-nba-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwayne%2Freact-native-nba-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wwayne","download_url":"https://codeload.github.com/wwayne/react-native-nba-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247801170,"owners_count":20998339,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T16:01:32.880Z","updated_at":"2025-04-08T08:11:58.430Z","avatar_url":"https://github.com/wwayne.png","language":"Objective-C","readme":"## This is why we play \n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)\n[![Circle CI](https://circleci.com/gh/wwayne/react-native-nba-app/tree/master.svg?style=svg)](https://circleci.com/gh/wwayne/react-native-nba-app/tree/master)\n\n![group](https://cloud.githubusercontent.com/assets/5305874/12059257/dacf1ad0-af92-11e5-920c-ba4818d8dc1d.png)\n\n## Info\n* **Platform:** iOS \u0026 Android\n* **State Management:** Redux\n* **Code Style:** Standard\n* **Unit Test:** None, take a look at [snowflake](https://github.com/bartonhammond/snowflake) for learning\n* **Related Articles:** [Let’s drawing charts in React-Native without any library](https://medium.com/@wwayne_me/let-s-drawing-charts-in-react-native-without-any-library-4c20ba38d8ab#.kyyxnrb9s)\n\n## Demonstration\n### Games\n![game](https://cloud.githubusercontent.com/assets/5305874/12422631/e33d57ca-bf02-11e5-8bdf-e10df77fc1fb.gif)\n![game_android](https://cloud.githubusercontent.com/assets/5305874/12530667/eb14e1c2-c220-11e5-864d-971e62646afa.gif)\n\n### Players\n![player](https://cloud.githubusercontent.com/assets/5305874/12422675/19ae6696-bf03-11e5-87d5-6abc805b62b8.gif)\n![player_android](https://cloud.githubusercontent.com/assets/5305874/12530668/f42c16b8-c220-11e5-82a5-a886cd0cfd65.gif)\n\n### Teams\n![team](https://cloud.githubusercontent.com/assets/5305874/12422777/7dc6d870-bf03-11e5-82eb-634b14d34f16.gif)\n![team_android](https://cloud.githubusercontent.com/assets/5305874/12530753/dc968fd0-c223-11e5-98ed-a55771ce5333.gif)\n\n\n## Develop\n#### iOS\n1. `$ npm install`\n2. `$ npm run clean` react-native unsupport for .babelrc since 0.16, so you have to remove all .babelrc in your project(includes packages)\n3. `$ npm start`\n4. Open your Xcode, select a simulator, click the play button or `cmd + R`\n\n#### Android\n1. Same to [official doc](http://facebook.github.io/react-native/docs/android-setup.html#content)\n2. `$ react-native run-android`\n3. It's a bit complicated to those who are not familiar with Android development, like me\n\n## Design\nThe design is made by Sketch, you can find the original design file in [Dropbox](https://www.dropbox.com/s/3hn1o5xgk7bzjpa/Allyoop.sketch?dl=0), it may help if someone wants to design new features.\n\n## Run in device\n#### iOS：\n1. Check the [official doc](http://facebook.github.io/react-native/docs/running-on-device-ios.html#using-offline-bundle) first, the following steps are based on official doc\n\n2. Comment `console` in `lib/middleware/logger.js`, because native environment doesn't support for `console.group`\n\n3. Generate js bundle: **$ react-native bundle --entry-file index.ios.js --platform ios --bundle-output ./main.jsbundle**\n\n4. Add js bundle into your project: open Xcode, select **Files** -\u003e **Add Files to...** -\u003e select the main.jsbundle file that just generated\n\n5. In Xcode, select your device, then click the play button or `cmd + R`\n\n#### Android:\nI never tried\n\n## To Be Continue\n1. Fix UI in Android\n2. Find a better way to organize css\n3. Unit test\n\n\n## License\n\nMIT\n","funding_links":[],"categories":["Objective-C","开源APP","Misc","开源App"],"sub_categories":["系列教程","项目实践\u0026教程","React Native"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwwayne%2Freact-native-nba-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwwayne%2Freact-native-nba-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwwayne%2Freact-native-nba-app/lists"}