The repository for StarwarDiaries.
Project Name: StarwarDiaries
A react-native application to show list of vehicles used in Starwars.
expo cli
Editors : Visual Studio Code/snack.expo.io
Step 1: Clone this repository.
Step 2: Go to the cloned repo and open it in termianl.
Step 3: Install the application dependencies with $ yarn
Step 4: Run the npm script to install the cocoapods $ yarn run pod install
Steps to run the project in ios and andorid
- Run and build for either OS using expo cli and Mac OS
- Go to the project directory inside the terminal.
- Run npm script
$ yarn run ios
to run in iOS. - Run npm script
$ yarn run android
to run in android.
This project adheres to JavaScript Standard for codinng style. To maintain coding standards, utilising features of ES6 and follow best development practices of react-native, this project also uses ES6, some rules of eslint-airbnb, eslint-plugin-react and eslint-plugin-react-native.
-
To Lint
Use the npm script
lint
. To run it
yarn run lint
-
Auto Lint on Commit
This is implemented using husky. So husky will prevent code-cmmits having lint errors. There is no additional setup needed.
-
Understanding Linting Errors
The linting rules are from JS Standard and React-Standard. Regular JS errors can be found with descriptions here, while React errors and descriptions can be found here.
-
Framework:
-
State management libraries:
-
API & Middleware libraries:
-
Libraries used for UI:
-
Utilities libraries