UNPKG

@gocodingnow/rn-better-boilerplate

Version:
47 lines (30 loc) 2.37 kB
# React Native Better Boilerplate ![React Native Better Boilerplate License](https://img.shields.io/github/license/ildfreelancer/react-native-better-boilerplate) ![React Native Better Boilerplate Version](https://flat.badgen.net/npm/v/@gocodingnow/rn-better-boilerplate) ![React Native Better Boilerplate Release Date](https://img.shields.io/github/release-date/ildfreelancer/react-native-better-boilerplate) ![React Native Better Boilerplate Download](https://flat.badgen.net/npm/dt/@gocodingnow/rn-better-boilerplate) ![React Native Better Boilerplate Stars](https://img.shields.io/github/stars/ildfreelancer/react-native-better-boilerplate) ![React Native Better Boilerplate Top Language](https://img.shields.io/github/languages/top/ildfreelancer/react-native-better-boilerplate) ![React Native Better Boilerplate TypeScript](https://badgen.net/npm/types/tslib) This project is a [React Native](https://facebook.github.io/react-native/) boilerplate that can be used to kickstart a mobile application. The boilerplate provides **an optimized architecture for building solid cross-platform mobile applications** through separation of concerns between the UI and business logic. It is fully documented so that each piece of code that lands in your application can be understood and used. ``` If you love this boilerplate, give us a star! ``` ## Requirements Node 12 or greater is required. Development for iOS requires a Mac and Xcode 10 or up, and will target iOS 11 and up. You also need to install the dependencies required by React Native. Go to the [React Native environment setup](https://reactnative.dev/docs/environment-setup), then select `React Native CLI Quickstart` tab. Follow instructions for your given `development OS` and `target OS`. ## Quick start To create a new project using the boilerplate simply run : ``` npx react-native init MyApp --template @gocodingnow/rn-better-boilerplate ``` Assuming you have all the requirements installed, you can run the project by running: - `yarn start` to start the metro bundler, in a dedicated terminal - `yarn <platform>` to run the *platform* application (remember to start a simulator or connect a device) ## License This project is released under the [MIT License](LICENSE). ## Credits - I forked some template configuration from [TheCodingMachine](https://www.thecodingmachine.com/)