/universal-react

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

Primary LanguageJavaScriptOtherNOASSERTION

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