GithubHelp home page GithubHelp logo

michelebertoli / guestar Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 20.29 MB

Guestar iOS App (React Native + Flux + HMR + Webpack + ES6)

Home Page: http://www.guestar.com

JavaScript 25.51% Java 0.63% Objective-C 73.86%

guestar's Introduction

Guestar iOS App (React Native + Flux)

Guestar iOS App built with React Native + Flux + HMR + Webpack + ES6.
To get it work follow this steps:

git clone https://github.com/paolorovella/guestar
cd guestar
npm install
npm run hot

Webpack, Babel and Hot Module Replacement

The starting point of your project is in the folder App, dont forget to update the webpack config file if you change this.

The babel loader is also preconfigured, so you can use full ES2015/ES6 in your code ;)

Make sure you select Debug in chrome option (CMD+D) to get HMR

Use it on your device

To use this app on your device

npm run ios IP

Where IP is the IP address of your Mac. You must change the IP address in other two files:

  • iOS/Application/AppDelegate.m at line 40 change

      jsCodeLocation = [NSURL URLWithString:@"http://IP:8080/index.ios.bundle?platform=ios&dev=true"];
    
  • Open iOS/Guestar.xcodeproj and in Libraries/RCTWebSocket.xcodeproj/RCTWebSocketExecutor change

      return [self initWithURL:[RCTConvert NSURL:@"http://IP:8081/debugger-proxy"]];
    

Connect your iPhone and in XCode press play

guestar's People

Contributors

michelebertoli avatar paolorovella avatar

Watchers

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