Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 1.21 KB

README.md

File metadata and controls

27 lines (22 loc) · 1.21 KB

Simple React Native Starter

Simple ReactNative starter with an opinionated folder structure for mobile development.

Getting Started

  1. Ensure you've followed the React Native - Get Started Guide
  2. Clone this project git clone git@github.com:pcofilada/simple-react-native-starter.git
  3. Run yarn install from root directory
  4. Run yarn ios or yarn android from root directory

Folder Structure

  • android/ - Android native stuff
  • ios/ - iOS native stuff
  • src/ - Contains all of our react native codebase
    • App.tsx - Base react native component
    • Router.ts - App navigation
    • api/ - Api call related functions
    • assets/ - Images, fonts and other static files
    • config/ - Config files
    • containers/ - Smart Components
    • context/ - React Context
    • types/ - Typescript related files or functions
    • utils/ - Helper functions
    • components/ - Dumb Components
      • common/ - Shared components