You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The repo is open to contributions from anyone. The aim is to build a jumpstarter that also encourages industry best pratices to build enterprise applications using React Native.
4
+
5
+
## Workflow
6
+
7
+
We use [GitHub Flow](https://guides.github.com/introduction/flow/), so all code changes happen through pull requests.
8
+
9
+
1. Fork the repository and create your branch from `master`.
10
+
2. If you've changed the functionality, update the documentation.
11
+
3. Create the pull request!
12
+
13
+
## License
14
+
15
+
By contributing, you agree that your contributions will be licensed under the [MIT License](https://choosealicense.com/licenses/mit/).
16
+
17
+
## Code style
18
+
19
+
We use airbnb eslint for maintaing code readablitiy. The project has been written in VSCode with [Prettier](https://prettier.io/) code formatter.
20
+
21
+
Recommend contributors to run lint on code before creating PRs. Thank :tada:
Copy file name to clipboardExpand all lines: README.md
+56-76Lines changed: 56 additions & 76 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,34 @@
1
1
# React Native Typescript Boilerplate
2
2
3
-
### An opinionated [React Native](https://facebook.github.io/react-native/docs/getting-started) Starter Kit with [React Native Navigation](https://github.com/wix/react-native-navigation) + [Redux](https://github.com/reactjs/redux) + [Eslint](https://github.com/airbnb/javascript) to build iOS / Android apps using TypeScript
3
+
### An opinionated [React Native](https://facebook.github.io/react-native/docs/getting-started) Starter Kit with [React Native Navigation](https://github.com/wix/react-native-navigation) + [Redux](https://github.com/reactjs/redux) + [Eslint](https://github.com/airbnb/javascript) to build iOS / Android apps using [TypeScript](https://github.com/Microsoft/TypeScript-React-Native-Starter)
4
4
5
-
##### Built using Microsft TypeScript & React Native
5
+
The project has been setup based off [RN Getting Started](https://facebook.github.io/react-native/docs/getting-started) and instructions from [Microsoft's Github TypeScript React Native Starter](https://github.com/Microsoft/TypeScript-React-Native-Starter) repo.
6
6
7
-
The project has been setup based off instructions from [Microsoft's Github TypeScript React Native](https://github.com/Microsoft/TypeScript-React-Native-Starter) Starter repo
7
+
This repo supports the latest version of React Native (v0.57.8+) supported by RNN (at the time of writing).
8
+
9
+
### Who is this for?
10
+
11
+
Someone looking to jumpstart building apps using RN and loves TS. The base setup has been taken care of, just `npm install` and get going.
12
+
13
+
You might also want to [rename](https://medium.com/the-react-native-log/how-to-rename-a-react-native-app-dafd92161c35) the app for your own use.
14
+
15
+
_Disclaimer_:
16
+
This is an **opinionated** approach to building apps with RN. The project structure is inspired by multiple production apps built by the contributors.
17
+
18
+
The project uses and encourages to use industry best practices / tools / libraries like RNN, redux, eslint, separation of concern and structure to build a maintainable app.
$ appcenter codepush deployment list -a AmitM30/rnts-ios
106
+
npm run start
132
107
```
133
108
134
-
###### Release History
135
-
136
-
Command:
137
-
138
-
```
139
-
appcenter codepush deployment history -a AmitM30/rnts-ios Staging
140
-
```
141
-
142
-
Or:
143
-
144
-
```
145
-
code-push deployment history AmitM30/rnts-ios Staging
146
-
```
109
+
and the launch from IDE.
147
110
148
111
#### Lint
149
112
@@ -177,9 +140,26 @@ npm run test:coverage
177
140
178
141
#### Cheat Sheet
179
142
180
-
##### Items to come here
143
+
##### React Native Navigation
144
+
145
+
The application launches with a blank splash screen, and the moves to a tabbed based home view. Developers can feel free to add application launch logic to this, or entirely skip the splash if not required, or change this altogether.
146
+
147
+
##### Styles
148
+
149
+
The `styles` folder contain global style and typography for the application. Styles for each screen has been placed with the screen, and not together, as they are going to be used together, unlike web.
150
+
151
+
##### Widgets / Elements
152
+
153
+
The custom components have been broken into 2 major categories, namely - **widgets**, **elements**
154
+
155
+
A Good use case would be:
156
+
157
+
- widgets: carousels component, banner component etc.
158
+
- elements: a custom, may be `<CText>` or `<ButtonDefault>`, element that has default font properties like font, size.
159
+
160
+
#### Contributing
181
161
182
-
Test Item
162
+
Please check out [Contributing] document(https://github.com/AmitM30/react-native-typescript-boilerplate/blob/master/CONTRIBUTING.md).
0 commit comments