1.2.1 ā€¢ Published 2 years ago

react-native-typescript-redux v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

React Native TypeScript Boilerplate

License React Native npm

Boilerplate for creating React Native applications with typescript

Show your support

Give a ā­ļø if you liked this!

šŸ¤ Contributing

Contributions are welcome! If you have questions, feature requests or a bug you want to report, please click Here to open an issue.

Installation

Open your terminal and type in

npx react-native init AwesomeProject --template react-native-typescript-redux

Folder Structure

.
ā”œā”€ā”€ app
ā”‚   ā””ā”€ā”€ src
ā”‚       ā”œā”€ā”€ @types
ā”‚       ā”œā”€ā”€ assets
ā”‚       ā”‚   ā”œā”€ā”€ animations
ā”‚       ā”‚   ā”œā”€ā”€ fonts
ā”‚       ā”‚   ā””ā”€ā”€ images
ā”‚       ā”œā”€ā”€ components
ā”‚       ā”‚   ā”œā”€ā”€ Button
ā”‚       ā”‚   ā”œā”€ā”€ Light-bulb
ā”‚       ā”‚   ā””ā”€ā”€ Switch
ā”‚       ā”œā”€ā”€ config
ā”‚       ā”‚   ā””ā”€ā”€ reactotron
ā”‚       ā”œā”€ā”€ helpers
ā”‚       ā”œā”€ā”€ i18n
ā”‚       ā”œā”€ā”€ router
ā”‚       ā”œā”€ā”€ screens
ā”‚       ā”‚   ā”œā”€ā”€ Demo
ā”‚       ā”‚   ā”œā”€ā”€ Home
ā”‚       ā”‚   ā””ā”€ā”€ Redux-demo
ā”‚       ā”œā”€ā”€ services
ā”‚       ā”‚   ā””ā”€ā”€ reactotron
ā”‚       ā”œā”€ā”€ store
ā”‚       ā”‚   ā”œā”€ā”€ ducks
ā”‚       ā”‚   ā”‚   ā””ā”€ā”€ counter
ā”‚       ā”‚   ā””ā”€ā”€ root-store
ā”‚       ā”œā”€ā”€ theme
ā”‚       ā”œā”€ā”€ utils
ā”‚       ā”‚   ā”œā”€ā”€ storage
ā”‚       ā”‚   ā””ā”€ā”€ hooks
ā”‚       ā””ā”€ā”€ App.tsx
ā”œā”€ā”€ android
ā”œā”€ā”€ docs
ā”œā”€ā”€ ios
ā””ā”€ā”€ index.js

Tech stack

How to use

If you don't have the react-native environment already setup on your machine, please follow this Link to setup everything you need to start

$ npm install
# OR with yarn
$ yarn
# check if your device is online by running the following command
# if running on a physical device, enable debug mode
$ adb devices
# this starts the metro server and points to reactotron ports automatically
$ yarn dev
# installing the app on the device
$ yarn run android