@ronas-it/react-native-starter

3.4.1 • Public • Published

React Native Starter

Ronas IT template for React Native + Expo projects.

What's included

  • Build and submit configuration templates
  • Feature-oriented project structure
  • Code linting and formatting using ESlint & Prettier (with pre-commit auto-formatting)
  • Testing environment setup with simple tests examples
  • Common modules and basic components for a quick start
  • Redux setup and entities CRUD implementation using RTK [Work-in-progress]

+ Demo app that interacts with some open API.

Usage

Init your project:

npx create-expo-app -t @ronas-it/react-native-starter

Follow TODOs in a generated project to update your app configuration and clean up demo code.

Useful scripts

See package.json for pre-defined scripts. You can run them using npm run {script} or yarn {script}:

  • start - Start local development-env server to develop with Expo Go
    • Run server locally for other environments: start:{environment}
    • To develop with Development client start server with --dev-client flag
  • lint - Run necessary code checks
  • format - Run code autoformat
  • test - Run tests
  • build:{environment} - Create builds for both platforms
    • Pass -p {android|ios} to run a platform-specific build
    • To create a Development client build run build:debug
  • submit:ios:{environment} - Submit iOS build to AppStore Connect
  • update:{environment} - Publish OTA-update

Demo app

This project includes a demo application that simulates login and displays some demo users list. Data is populated from Go Rest Open API.

  1. Run the project using start script.
  2. Open the app using Expo Go or Android Emulator/iOS Simulator.
  3. Use any valid email and non-empty password for login into demo app.

/@ronas-it/react-native-starter/

    Package Sidebar

    Install

    npm i @ronas-it/react-native-starter

    Weekly Downloads

    16

    Version

    3.4.1

    License

    none

    Unpacked Size

    5.42 MB

    Total Files

    217

    Last publish

    Collaborators

    • vmikhalevskii
    • ipakhomov
    • eleonov
    • astorozhevsky
    • opikhnenko
    • dmitryusenko