This project was bootstrapped with React Native Cli, and edited by me, I add different libraries that I use in every React project, like Typescript
, storybook
, react-native-navigation
, and jest
. And I structure the files.
You can clone it and start coding your App immediately.
make sure to setup your envirement for react-native app development by following the instructions in the docs. (Stop when you get to the part 'Creating a new application
'), after that clone this repo and start your project.
In the project directory, you can run:
Install the different needed dependences.
Runs the metro server locally.
The app will reload if you make edits.
You will also see any lint errors in the console.
Runs the App on an android device (make sure that you have an android phone pluged with the laptop, or open an android emulator)
Runs the App on an ios device (make sure that you have an ios phone pluged with the laptop, or open an ios emulator)
Launches the tests.·
See the section about running tests for more information.
Runs the storybook and see the components.
Open http://localhost:7007 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Run this command everytime you create a new story, (it's gonna load the new story file and add it to the stories list).
Output a static Storybook in the storybook-static directory, which can then be deployed to any static site hosting service.