Skip to content

Latest commit

 

History

History
71 lines (58 loc) · 2.02 KB

GETTING_STARTED.md

File metadata and controls

71 lines (58 loc) · 2.02 KB

Getting started

Install dependencies with yarn (recommended) or npm:

yarn

Then, you can run locally in development mode with live reload:

yarn ios # for iOS
yarn android # for android

Code organization

.
├── README.md                    # README file
├── babel.config.js              # Babel configuration
├── types                        # Shared TypeScript interfaces
│── assets                       # App assets (images, sounds, etc...)
├── components                   # Shared components
│   └── X
│       └── X.tsx
│       └── index.ts
│       └── X.stories.tsx
│       └── X.test.tsx
│── screens                      # App screens
│── navigators                   # Navigation flow
├── context                      # Shared context state
├── constants                    # Shared constants
├── translations                 # Locale translations
├── hooks                        # Shared hooks
│   └── tests
│── styles                       # Shared style folder
│   └── fonts.ts                 # Shared fonts style
│   └── index.ts                   
│   └── palette.ts               # Palette colors
│   └── style.ts                 # Style Utility func
│── utils                        # Utility folder
│   └── __tests__
├── metro.config.js              # Metro configuration
└── tsconfig.json                # TypeScript configuration

Develop UI components

The project integrates Storybook to streamline UI development.

yarn storybook

The UI document then should be live at http://localhost:6006.

Read on: