{"id":18512678,"url":"https://github.com/knightsj/githubpopular-sj","last_synced_at":"2025-08-30T12:03:04.722Z","repository":{"id":140223641,"uuid":"101710045","full_name":"knightsj/GitHubPopular-SJ","owner":"knightsj","description":"慕课网实战课程：《React Native 开发跨平台 GitHub App》Demo","archived":false,"fork":false,"pushed_at":"2018-12-09T15:55:29.000Z","size":396,"stargazers_count":253,"open_issues_count":1,"forks_count":80,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-03-17T14:09:45.699Z","etag":null,"topics":["react-app","react-components","react-native","reactjs"],"latest_commit_sha":null,"homepage":"http://coding.imooc.com/class/89.html","language":"JavaScript","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/knightsj.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-29T02:31:37.000Z","updated_at":"2025-02-25T13:54:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"7e43774a-30d9-4d35-ad49-5fb7461e8d00","html_url":"https://github.com/knightsj/GitHubPopular-SJ","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/knightsj%2FGitHubPopular-SJ","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knightsj%2FGitHubPopular-SJ/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knightsj%2FGitHubPopular-SJ/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knightsj%2FGitHubPopular-SJ/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knightsj","download_url":"https://codeload.github.com/knightsj/GitHubPopular-SJ/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245767357,"owners_count":20668826,"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":["react-app","react-components","react-native","reactjs"],"created_at":"2024-11-06T15:34:58.540Z","updated_at":"2025-03-27T02:12:17.541Z","avatar_url":"https://github.com/knightsj.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHubPopular-SJ\n\n![](https://img.shields.io/badge/build-success-brightgreen.svg)\n![](https://img.shields.io/badge/platform-iOS-30A3FC.svg)\n![](https://img.shields.io/badge/platform-Android-8FC550.svg)\n[![](https://img.shields.io/badge/blog-JianShu-EA6F5A.svg)](http://www.jianshu.com/p/241241aae095)\n[![](https://img.shields.io/badge/blog-JueJin-007FFF.svg)](https://juejin.im/post/59a65113f265da247b4e98c1)\n[![](https://img.shields.io/badge/License-MIT-ff69b4.svg)](https://github.com/knightsj/GitHubPopular-SJ/blob/master/LICENSE)\n\n## 项目介绍\n\n这是我在学习很火的实战课程[《React Native 开发跨平台 GitHubPopular》](http://coding.imooc.com/class/89.html)后，写出的课程Demo，大家也可加入该课程学习提高自己。非常感谢该项目作者**贾鹏辉**老师的精心制作。\n\n\u003e贾鹏辉老师还撰写了很多关于React Native的技术博客：[贾鹏辉老师的技术博客](http://www.devio.org/)，在里面可以学到很多关于React Native相关的知识。\n\n已经实现了除调用友盟接口和集成CodePush的功能，并且对项目做了一点重构，而且做了一点优化。\n\n更详细的中文介绍地址：[掘金：从一个实战项目来看一下React Native开发的几个关键技术点](https://juejin.im/post/59a65113f265da247b4e98c1)\n\n目录结构：\n\n![](https://jknight-blog.oss-cn-shanghai.aliyuncs.com/react_native/imooc_demo/rn_p_folder_detail2.png)\n\n\n\n## 项目演示：\n\n### 上排是iOS模拟器，下排是Android模拟器：\n\n![](https://jknight-blog.oss-cn-shanghai.aliyuncs.com/react_native/imooc_demo/rn_p_header.png)\n\n### 多主题切换：\n![多主题切换](https://jknight-blog.oss-cn-shanghai.aliyuncs.com/react_native/imooc_demo/rn_p_theme.png)\n\n### 交互展示：\n![](https://jknight-blog.oss-cn-shanghai.aliyuncs.com/react_native/imooc_demo/rn_p_show.gif)\n\n\n\n## 运行方法（iOS）\n\n### 1. 添加依赖包\n在项目根目录下执行：``npm install``方法。\n\n\n\n### 2. 打包运行\n\n有两种方法可以启动模拟器运行：\n1. 在根目录下执行下面的命令:``react-native run-ios``，随后就可以自动启动本地服务，打开iOS模拟器运行项目。\n2. 找到iOS项目文件夹，用Xcode打开项目，点击运行按钮运行（也可以连接iPhone运行）。\n\n\n\n\n## To Do List\n\n1. 性能优化：在真机上的性能还有待提升，会将接下来研究的重点放在性能优化上。\n2. 加入Redux：性能提升以后，会引入Redux进行状态管理。\n3. 主题相关：更换字体大小\n\n\n\n\n## License\n\nAll source code is licensed under the [MIT License](https://github.com/knightsj/GitHubPopular-SJ/blob/master/LICENSE).\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknightsj%2Fgithubpopular-sj","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknightsj%2Fgithubpopular-sj","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknightsj%2Fgithubpopular-sj/lists"}