• Stars
    star
    210
  • Rank 187,585 (Top 4 %)
  • Language
    TypeScript
  • Created about 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🚀 Awesome fundamental features with Typescript support React Native Boilerplate

React Native Typescript Boilerplate

A lot of fundamental features with Typescript support React Native Boilerplate

npm version npm Platform - Android and iOS License: MIT styled with prettier

React Native Typescript Boilerplate

🥳 Version 3.5 is here 😍

We're proudly announce that Version 3.5 is here!

  • Native Splash Screen
  • New React Native Architecture Ready (RN 0.71+) 🍻
  • Awesome Theme Support for both Light / Dark Mode 🌙
  • Latest React and React Native Dependencies 🌟
  • All Dependencies are Upgraded
  • New GIF with the Project Example for Theming
  • Much Better Documentation
  • Detailed Roadmap

🐶 What's Included?

  • Typescript

  • Flipper Ready

  • Navigation System

  • NEW: Built-in Theme System with Hooks

    • ☀️ Light Theme Support
    • 🌙 Dark Theme Support
    • Dynamic Color Palette System
    • Custom Font Support
    • Built-in Better Text Component
  • Ready to use React Native Reanimated 2 Integration

  • Native Splash Screen Integration

  • Awesome React Native Helpers Integration

    • Noth Detection Support
    • Better Dimension Helper (Ex: ScreenWidth, ScreenHeight)
    • Cool Text Helpers
  • React Native Vector Icons

  • Localization (Multi-Language Support)

  • HTTP Network Management

  • Built-in EventEmitter

  • Babel Plugin Module Resolver

    • Fixing the relative path problem
    • Visit .babelrc to ready to use and more customization
  • Pre-commit Husky Integration

    • Ready to command husky setup with npm run husky:setup
    • commitlint Integration for better commit linter
    • Auto prettier on pre-commit
    • Awesome ESLint Integration
  • Built-in Custom Font Implementation

    • All you need to do is copy-paste the .tff files into assets/fonts folder
    • Run npx react-native-asset command
  • More and more! :)

🚀 Getting Started

Quick Start

To create a new project using the barebone boilerplate:

git clone https://github.com/WrathChaos/react-native-typescript-boilerplate.git my-app-name

🎯 Step By Step Guide

Clean-Up & Simple Run

Clean up the files from the example repository and do not forget to install the dependencies There is a good example by default on HomeScreen. You can delete the all screens.

  • npm i
  • npm run clean-up
  • npm i && npx pod-install
  • react-native run-ios/android

OR

  • rm -rf .git README.md
  • rm -rf ./assets
  • git init
  • npm i
  • npm run husky:setup
  • npx pod-install (iOS Only)
  • react-native run-ios/android

Husky Integration

Before doing anything else, please simply run the command to initalize the husky. If you do not run clean-up part you should run the husky setup by yourself

npm run husky:setup

husky:setup will handle the initialization, installation and ready to use commitlint, prettier and eslint.

Rename the project: (Thanks to react-native-name)

npx react-native-rename <your-project-name>

With custom Bundle Identifier (Android only. For iOS, please use Xcode)

npx react-native-rename <your-project-name> -b <bundleIdentifier>

Install Pods (iOS Only)

  • npm i
  • cd ios && pod install
  • cd .. && react-native run-ios/android

Android local.properties (Android Only)

  • npm i
  • cd android && mkdir local.properties
  • nano local.properties

Example of MacOS Android SDK Path

Make sure that set your right path of Android SDK

MacOS / Linux

Replace your machine name instead of username

sdk.dir=/Users/username/Library/Android/sdk
Windows

Replace your machine name instead of username

sdk.dir=/Users/username/Library/Android/sdk
  • cd .. & react-native run-ios/android

📃 Documentations

🔮 Roadmap

  • LICENSE
  • Better Husky: Linter, Prettier and Commintlint
  • Removal of react-native-animated-splash-screen
  • New Theme Support with React Navigation
  • Implement the native splash screen with react-native-splash-screen
  • Better and separated documentation
  • Axios Hooks
  • React Native New Architecture
  • Babel Plugin Module Resolver Documentation with Example
  • Navigation Service Documentation with Example
  • Localization Documentation with Example
  • Theme Documentation with Example
  • FAQ Documentation
  • Website for the boilerplate
  • Splash Screen Documentation
  • Detox E2E Integration Fork Version
  • Redux Fork Version
  • MobX State Tree Fork Version
  • Write an article about the lib on Medium
  • Write an article about the lib on DevTo

Credits

Photo by Shifaaz shamoon on Unsplash

Photo by Jamie Street on Unsplash

Author

FreakyCoder, [email protected]

License

React Native Typescript Boilerplate is available under the MIT license. See the LICENSE file for more info.

More Repositories

1

react-native-header-view

Fully customizable Header View with multiple design options for React Native.
Java
548
star
2

react-native-dynamic-search-bar

Medium Article: https://freakycoder.com/react-native-library-dynamic-search-bar-c03fea9fae36
Java
481
star
3

react-native-bouncy-checkbox

Fully customizable animated bouncy checkbox for React Native
Java
462
star
4

react-native-apple-card-views

Customizable and perfect clone of Apple, App Store Card Views for React Native.
Java
336
star
5

react-native-beautiful-timeline

Fully customizable, beautifully designed Timeline for React Native.
Java
175
star
6

react-native-login-screen

🚀 Fully Customizable Beautiful React Native Login Screen
TypeScript
155
star
7

StompClientLib

Simple STOMP Client library, Swift 3 and 4, 4.2, 5 compatible
Swift
142
star
8

react-native-gradient-header

Fully customizable and unique shape Gradient Header for React Native
JavaScript
138
star
9

react-native-header-search-bar

Fully customizable header search bar for React Native
JavaScript
111
star
10

react-native-imaged-carousel-card

Fully customizable & Lovely Imaged Carousel Card for React Native
JavaScript
99
star
11

react-native-dynamic-vector-icons

Wrapper of react-native-vector-icons to use dynamic types
TypeScript
86
star
12

react-native-single-select

Customizable & Easy to Use Single Select Library for React Native
TypeScript
85
star
13

react-native-progressive-fast-image

Customizable progressive image for React Native with FastImage
TypeScript
82
star
14

react-native-internet-connection-alert

Fully customizable internet connection listener with the built-in alert for React Native
Java
74
star
15

react-native-bottom-bar

Fully customizable BottomBar with unique design shape for React Native.
JavaScript
73
star
16

react-native-helpers

All helpers in one; iPhone series support, dimensions helper, hasNotch helper, normalize text helper and text helpers for React Native with very easy useEasy to use & awesome helpers for React Native.
TypeScript
71
star
17

react-native-gradient-card-view

Fully customizable Gradient Card View for React Native.
TypeScript
67
star
18

react-native-bounceable

🚀 Animate and bounce any component with RNBounceable for React Native
Java
56
star
19

react-native-typescript-library-starter

Ready to Rock 🔥
JavaScript
53
star
20

react-navigation-helpers

Helpers for React Navigation
Java
49
star
21

MediaPickerLib

Kotlin based media picker library, to pick multiple images and/or vidoes from built-in gallery. Easy to implement and use :)
Kotlin
48
star
22

react-native-floating-action-button

Fully customizable Floating Action Button for React Native
JavaScript
47
star
23

react-native-redux-boilerplate

React Native Redux Boiler Plate
JavaScript
38
star
24

react-native-poll

Voting and poll library for React Native with fully customizable options
TypeScript
38
star
25

react-native-multiple-select

Customizable & Animated, Easy to Use Multiple Select Library for React Native
TypeScript
36
star
26

react-native-button

Fully customizable, Gradient, Outline and Solid Button for React Native.
TypeScript
34
star
27

MJPEGStreamLib

Simple and easy to use MJPEG Stream Library. It contains authentication if your stream url needs a username/password. It is based on UIImageView so it is all up to your custom design.
Swift
32
star
28

react-native-text-input-interactive

Fully customizable, animated text input for React Native with beautiful and elegant design
Java
32
star
29

react-native-duo-toggle-switch

Fully customizable animated duo toggle switch for React Native
Java
31
star
30

react-native-permissions-modal

Awesome & Fully Customizable Permissions Modal for React Native
JavaScript
31
star
31

react-native-time-date-picker

🚀 Easy to use time and date picker with lots of options for React Native 🥳
TypeScript
28
star
32

react-native-dynamic-text-loading

Dynamically changes the text while loading screen for React Native. This is the loading like Heartstone and Discord's dynamically changes loading texts :)
JavaScript
27
star
33

react-native-picker-modal

Easy and fully customizable picker modal for React Native
TypeScript
26
star
34

react-native-animation-layout

Custom & Ready to GO partially customizable Animation Layouts for React Native.
JavaScript
25
star
35

react-native-animated-radio-button

Fully customizable animated radio button for React Native
Java
25
star
36

react-native-monthly

Animated and customizable monthly calendar for React Native
TypeScript
24
star
37

react-native-segmented-control-2

🚀 React Native Segmented Control, Pure Javascript for iOS and Android
Java
21
star
38

react-native-imaged-card-view

Rising Imaged Card View with Awesome Shadows and Fully Customizable Library for React Native
JavaScript
21
star
39

react-native-animated-component

Animate any component with React Native Animated Component
Java
20
star
40

react-native-easy-state-view

Fully customizable State View for React Native.
Java
20
star
41

react-native-circular-card-view

Fully customizable Circular Card View for React Native
JavaScript
20
star
42

react-native-rounded-checkbox

Rounded Checkbox with animated and fully customizable options library for React Native
TypeScript
20
star
43

react-native-text-area

Simple and easy to use TextArea for React Native.
Java
20
star
44

react-native-bottom-search-bar

Elegant & Cool also fully customizable bottom search bar for React Native.
Java
20
star
45

react-native-permission-service

Easy to use permission service which is all handled by itself for both iOS and Android on React Native
TypeScript
19
star
46

react-native-typescript-zustand-boilerplate

🚀 Ready to start Zustand Typescript React Native Boilerplate 🌟
TypeScript
19
star
47

react-native-checkbox-card

Checkbox Card is customizable and animated built-in check state integration for React Native
TypeScript
18
star
48

react-native-counter-input

Counter Input with fully customizable options for React Native
TypeScript
18
star
49

react-native-switch-button

Animated switch button with fully customizable React Native Component
TypeScript
18
star
50

iOS-StatusBar-Example

Medium Article: https://freakycoder.com/ios-notes-13-how-to-change-status-bar-color-1431c185e845
Swift
17
star
51

react-native-bouncy-checkbox-group

Fully customizable bouncy checkbox group for React Native
TypeScript
16
star
52

react-native-social-login-screen

Easy Login Screen with beautiful design and fully customizable options for React Native
TypeScript
16
star
53

react-native-colorful-card

Fully customizable colorful card component for React Native
TypeScript
16
star
54

react-native-animated-radio-button-group

Fully customizable, animated & easy to use radio button group
Java
16
star
55

react-native-subscribe-card

Beautifully designed & fully customizable subscribe card for React Native
TypeScript
15
star
56

react-native-instagram-story-circle

Fully customizable Instagram Story Circle with Bounceable Animated Library for React Native
TypeScript
15
star
57

react-native-alert-modalize

Awesome styled, fully customizable alert modalize for React Native.
JavaScript
14
star
58

react-native-bottom-menu

Fully customizable Bottom Menu for React Native.
JavaScript
14
star
59

react-native-image-swiper

Fully customizable & extremely easy to use Image Swiper for React Native
Java
14
star
60

Instagram-Style-Gradient-Background-Transition

Instagram Style Animated Gradient Background Login Screen
Java
14
star
61

react-native-typescript-redux-boilerplate

Awesome fundamental features with Typescript support and ready to use Redux implementation React Native Boilerplate
TypeScript
13
star
62

react-native-whatsnew-kit

Plug & Play, beautiful WhatsNewKit for React Native
JavaScript
13
star
63

react-native-review-modal

Review Modal with dynamic rate system and comment feature for React Native
JavaScript
12
star
64

react-native-gorgeous-header

Fully customizable & easy to use gorgeous header view for React Native
Java
12
star
65

react-native-flex-divider

Fully customizable flex divider with a easy use for React Native
Java
12
star
66

react-native-star-review

Fully customizable Star Review for React Native.
JavaScript
12
star
67

react-native-shake-text

TypeScript
11
star
68

react-native-custom-text

TypeScript
11
star
69

react-native-ticket-modal

Ready to GO Ticket Modal for React Native.
JavaScript
11
star
70

react-native-checkbox-flex

Fully customizable, easy to use checkbox with flexible component by React Native on Android and iOS
TypeScript
11
star
71

react-native-apple-header

React Native Apple Header
TypeScript
10
star
72

react-native-empty-state

Empty State library which is fully customizable and simple for any state view use-cases
Java
10
star
73

React-Native-Media-Controls

A sweet UI component to manipulate your media
JavaScript
10
star
74

react-native-beautiful-horizontal-list

JavaScript
10
star
75

react-native-premium-table

Fully customizable, easy to use premium table for React Native
Java
9
star
76

react-native-modern-header

React Native Modern Header
Java
9
star
77

react-native-image-picker-modal

Easy to use image picker modal with awesome iOS Picker design for React Native
Java
9
star
78

react-native-global-modal-2

🌍 Global modal and callable from anywhere on the app for React Native
TypeScript
9
star
79

react-native-ios-like-navigation-transition

Java
9
star
80

react-native-basic-modal

Basic & Elegant Modal for React Native
Java
9
star
81

react-native-profile-header

Customizable Profile Header with cool icons for React Native
TypeScript
8
star
82

react-native-social-auth-helper

React Native Social Auth Helper
Java
8
star
83

react-native-text-input

React Native Text Input
Java
8
star
84

react-native-imaged-card

Beautiful and Fully Customizable Imaged Card for React Native
JavaScript
8
star
85

react-native-easy-cached-image

Easy Peasy Cached Image for React Native.
JavaScript
8
star
86

react-native-improved-text-input

Improved Text Input with placeholder style option for React Native
Objective-C
6
star
87

react-native-custom-icon

Medium Article: https://freakycoder.com/react-native-library-react-native-custom-icon-1ec0b734d691
JavaScript
6
star
88

react-native-pure-boilerplate

React Native Pure BoilerPlate
JavaScript
6
star
89

react-native-countdown

Moment based extremely easy to use Countdown for React Native
Java
6
star
90

react-native-multi-grid-selection

Fully customizable Multi Grid Card Selection component for React Native on both iOS and Android
TypeScript
5
star
91

react-native-beautiful-state-view

Fully customizable & Beautiful State View for React Native
Java
5
star
92

React-Native-Translucent-StatusBar-Example

Medium Article:
Objective-C
5
star
93

react-native-rounded-checkbox-group

Fully customizable react native checkbox group for React Native
Java
5
star
94

react-use-state-with-callback

Make the useState hook with a callback for React and React Native
Java
5
star
95

react-native-permission-item

Customizable, easy to use permission item component for React Native
TypeScript
4
star
96

react-native-get-premium-screen

Easy to use and fully customizable get premium screen for React Native
TypeScript
4
star
97

react-native-dash-2

Java
4
star
98

react-native-social-button

Easy & Elegant Social Button for React Native
JavaScript
3
star
99

react-native-splash-screen-example

React Native Notes 25: How to build a native Splash Screen on React Native App?
TypeScript
3
star
100

react-native-card-collection

Easy to use & Ready to Go Fully Customizable Awesome Card Collection for React Native.
JavaScript
3
star