Giter Site home page Giter Site logo

dzek69 / react-native-app-template Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.87 MB

React native personal app template, with working tests, mocks, docs, linting

Python 13.50% Java 10.94% JavaScript 44.98% Objective-C 30.59%
react react-native boilerplate example template app-template android ios javascript js

react-native-app-template's Introduction

React Native app template repository

Empty app template for easier start. Features:

  • sane unit testing (as similar to web React as possible, uses react-dom just for testing) ready to go, uses Jest, Enzyme and must.js
  • eslint connected
  • pure JS (no Flow)
  • prepared for releasing into Play Store (manual to come)

To start developing on Android with real device:

  1. Run yarn
  2. Run yarn start (keep it open)
  3. Prepare your device by forwarding development server port - add your device id to prepareDevice:* commands
  4. Run yarn start:android

To rename application and change app id use

react-native-app-rename

yarn run commands list:

  • start - cleans cache and starts development packaging server (Metro) - always run this after switching project you work on
  • start:android - runs packaging server is not run and installs & starts the app in development mode on Android device or emulator
  • start:ios - same as above, but for iOS
  • build:docs - builds documentation
  • build:release:android - builds release version of app for Android
  • prepareDevice:[name_here] - prepares real Android device for development by forwarding dev server port, you shoud add your device here because you'll need to repeat that every time you reconnect your device
  • test - runs unit tests
  • lint - checks for js code style
  • lint:fix - checks for js code style, fixing it automatically where possible

TODO

  • fix tests crashing when tested file imports an es module (file with an export statement)

react-native-app-template's People

Contributors

dzek69 avatar

Watchers

 avatar  avatar

react-native-app-template's Issues

Question

Hey!

Question for ya.
Think you could Answer this for me Real Quick?
If you don't mind.

First off sorry to create an issue but I'm not sure how else to connect and communicate about the project and goals of creating something more.

I really could use your help.

If you would take me under your wing to help me run this and put it in an emulator to further understand this and visually see what a bunch of code can become.

I've been stuck for days trying to figure out how to do this

Thanks

~EASTinphectiON

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.