jukben / universal-react

Universal React solution based on React Native and Create React App. :trophy:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Universal React

Based on:

Tests

Testing powered by Jest including async Epics testing even with HTTP mocks. Check out the __tests__ folders.

Development

Using ESlint Airbnb config for linting code along with Prettier and FlowType for type checking. There is already automatic precommit flow that checks code validity for you.

  • Entry point for Web app is in src/web.jsx
  • Entry point for Native app is in src/native.js

Available devstack's commands

  • start-native-cli - start native cli
  • start-ios - start iOS development (iPhone 7) + React Native CLI
  • start-android - start Android development + React Native CLI + you could combine with emulator (emulator -avd Nexus_5X_API_23),
  • start-web - start web app at port 3000
  • build-web - build web app into build/ folder
  • test - run Jest tests
  • coverage - generate test coverage
  • lint - start ESlint check
  • flow - start FlowType type check

About

Universal React solution based on React Native and Create React App. :trophy:

License:Other


Languages

Language:JavaScript 74.5%Language:Objective-C 12.9%Language:Python 4.8%Language:Java 3.9%Language:HTML 3.6%Language:CSS 0.3%