Giter Club home page Giter Club logo

2pack-list's Introduction

HackFridays: Mobile React 101 package

A simple To-Pack List App for HackFridays: Mobile React 101 package.

Installation

  1. Please make sure to carefully follow all the instructions on React Native's official documentation depending on your development operating system:

  2. Clone 2pack-list: https://github.com/Cloudoki/2pack-list.git

  3. Install project dependencies: npm install

Testing your React Native Installation

After following the React Native's tutorial and installing all the project dependencies, you should be able to run and test your mobile application.

Run React Native Packager

The React Native Packager is similar to Webpack, providing a CommonJS-like module system, JavaScript compilation (ES6, Flow, JSX), bundling, and asset loading.

react-native start

Running the App

For Android:

  1. In Android Studio, open the project located in the android folder.

  2. Go to Tools -> Android -> AVD Manager

  3. Create a Virtual Device (See the example below)

    alt tag

  4. Run your Virtual Device

  5. Finally run the app with react-native run-android

For iOS:

The process for running your app in iOS is more straightforward. Just run react-native run-ios command and you should see your app running in the iOS Simulator shortly. You can also run it directly from within Xcode by opening the project located in ios/ToPack.xcodeproj.

Note: If you want to test your app on an actual device, follow the instructions Running on Device.

Project File Structure

.
├── .babelrc                  # Configures Babel
├── .editorconfig             # Configures editor rules
├── .eslintrc                 # Configures ESLint
├── .flowconfig               # Configures Flow
├── .gitignore                # Tells git which files to ignore
├── .gitattributes            # Gives attributes to pathnames
├── index.android.js          # Entry point for your Android app into the React Native code
├── index.ios.js              # Entry point for your IOS app into the React Native code
├── package.json              # Package configuration. The list of 3rd party libraries and utilities
├── README.md                 # This file.
├── android                   # Directory with all your Android native code
├── ios                       # Directory with all your IOS native code
├── src                       # Source code
│   ├── components            # React components
│   ├── constants             # Application constants including constants for Redux
│   ├── containers            # High order component logic wrappers
│   ├── images                # App images
│   ├── reducers              # Redux reducers. Your state is altered here based on actions
│       ├── index.js          # Combines all reducers into one
│   ├── store                 # Redux store configuration
│   ├── ToPack.js             # Entry point for your app

##Technologies

Tech Description Learn More
React Fast, composable client-side components. Pluralsight Course
React Native A framework for building native apps with React. Egghead Course
Redux Enforces unidirectional data flows and immutable, hot reloadable store. Supports time-travel debugging. Lean alternative to Facebook's Flux. Pluralsight Course, Egghead Course
RN Router Flux React Native Router based on new React Native Navigation API Using react-native-router-flux
Babel Compiles ES6 to ES5. Enjoy the new version of JavaScript today. ES6 REPL, ES6 vs ES5, ES6 Katas, Pluralsight course
ESLint Lint JS. Reports syntax and style issues. Using eslint-plugin-react for additional React specific linting rules.

##Suggestions

  • Native Base: Essential cross-platform UI components for React Native.

2pack-list's People

Contributors

cbalves avatar

Watchers

James Cloos avatar Simon avatar Koen Betsens avatar Miguel Sousa avatar Rui Molefas avatar  avatar Délio Amaral 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.