Coder Social home page Coder Social logo

biallo / react-native-mst-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 1.19 MB

A boilerplate using React-Native, Mobx-State-Tree

License: MIT License

JavaScript 70.38% Ruby 4.41% Starlark 1.34% Java 16.52% Objective-C 5.17% Objective-C++ 2.18%
mobx-state-tree react-i18next react-native react-native-localize react-native-vector-icons react-native-webview react-navigation-v6

react-native-mst-boilerplate's Introduction

react-native-mst-boilerplate

A boilerplate using React-Native, Mobx-State-Tree

Language

Project dependencies

Project dev dependencies

Please refer to React Native Environment Setup to configure the development environment for iOS and Android.

Make sure you have Node.js >= 14.0.0 installed on your machine.

Installation

npm install

iOS

Install cocoapods first

// If there is a ruby version greater than or equal to 2.7.5 in the environment, you can use gem to install it
sudo gem install cocoapods

// Or use brew
brew install cocoapods

After installing cocoapods, switch from the project root directory to the ios directory

cd ios
pod install

Development

iOS Simulator

npm run ios

Android Simulator

npm run android

Launch Metro Only

npm run start

I18n

Languages can be added and modified in the ./translations directory.

In ./utils/Constants.js, the LANGUAGES field corresponds to the content in the "select language" function, and the LOCALE field corresponds to the content in ./utils/axios/AxiosConfig.js for backend rules.

Rename the project

Recommended Use React-Native-Rename

Replace app icon

iOS

Replace the image resources in the directory

./ios/ReactNativeMSTBoilerplate/Images.xcassets/AppIcon.appiconset

Android

Replace the image resources in the mipmap-* folder

./android/app/src/main/res

react-native-mst-boilerplate's People

Contributors

biallo avatar

Watchers

 avatar

Forkers

donniewang

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.