Skip to content

Latest commit

 

History

History
66 lines (51 loc) · 2.65 KB

README.md

File metadata and controls

66 lines (51 loc) · 2.65 KB

🚀🚀🚀

React Native + TypeScript + React Navigation + MobX + Axios [September 2019]

React React Native React Navigation Axios MobX MobX React Typescript MobX React Form

Starter project for React Native mobile application with Home, Login and Register pages.

Project created with https://github.com/react-native-community/react-native-template-typescript

Getting Started

  1. Clone this repo, Github URL

  2. Go to project's root directory, cd <your project name>

  3. Remove .git folder, rm -rf .git

  4. Open package.json and change the name property with your project name

  5. Open index.js and replace 'react-native-auth-starter' by your project name

  6. Open app.json and replace 'react-native-auth-starter' by your project name

  7. Run npm install to install dependencies

  8. Run react-native upgrade --legacy true to upgrade and add iOS & Android Folders and don't allow the tool to update your config files.

  9. Install Cocoapods: https://cocoapods.org/

  10. Navigate to /ios folder and execute pod install

  11. Back in the project root folder and start the packager with npm start

  12. Connect a mobile device to your development machine

  13. Run the test application:

  • On Android:
    • Run react-native run-android
  • On iOS:
    • Run react-native run-ios
    • OR
    • Open ios/YourReactProject.xcodeproj in Xcode
    • Hit Run after selecting the desired device