Code Monkey home page Code Monkey logo

ddgmeituan's Introduction

MeiTuan App Write In latest React-Native(0.44.0)

Github:https://github.com/dudongge/DDGMeiTuan

简书:http://www.jianshu.com/p/42097aa798fa

screen shot for iOS

## screen shot for Android

Setup

  1. Clone the repo
$ git clone https://github.com/dudongge/DDGMeiTuan.git
$ cd DDGMeiTuan
  1. Install dependencies (npm v3+):
$ npm install
  1. Running on iOS:
$ react-native run-ios

Troubleshooting

Could not connect to development server

In a separate terminal window run:

$ react-native start

Dependency

Contact

At last

If you like this project, please give me a star :)

高仿美团客户端 React-Native版(0.44.0)

简介

这是一个用React-Native写的美团客户端。

使用了React-Native 0.44.0版本。遵循ES6语法。

主要实现了美团的四个一级页面(团购、附近、订单、我的),以及部分二级页面(团购详情、Web页面)。

所有功能都是用JavaScript写的,iOS和Android的代码复用率达到了100%(因为只写了一套代码)。

开发时所用的工具是webStrom. 安装破解汉化 http://www.jianshu.com/p/97bb2096c24c。

App的页面跳转、TabBar、Navigation,全部通过react-navigation实现。这是一个非常牛逼的库,可以实现很多自定义的跳转功能。最早是通过react-native-router-flux实现跳转。在遇见react-navigation后,我果断放弃了react-native-router-flux。

App中很多页面都使用了同一个网络接口,这不是为了让代码更加简洁,因为接口有限😑 >.<

第三方依赖

安装

  1. Clone the repo
$ git clone https://github.com/dudongge/DDGMeiTuan.git
$ cd DDGMeiTuan
  1. Install dependencies (npm v3+)
$ npm install
  1. Running on iOS
$ react-native run-ios

常见问题

Could not connect to development server

打开新的terminal窗口,并执行:

$ react-native start

如果对您有帮助,开心的给个star吧

江南烟雨绕城郭, 白银盘里绕青螺。 天下儿女多才俊, 最是风流杜东阁 --目前就职于上海二三四五网络 希望和各路大神交流切磋。 Github:https://github.com/dudongge/DDGMeiTuan

ddgmeituan's People

Contributors

dudongge avatar

Watchers

 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.