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
.
├── 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
The project integrates Storybook to streamline UI development.
yarn storybook
The UI document then should be live at http://localhost:6006.