All Projects → AmitM30 → React Native Typescript Boilerplate

AmitM30 / React Native Typescript Boilerplate

Licence: mit
React Native Typescript starter kit / template (Redux Thunk + React Native Navigation v7 + TSLint)

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to React Native Typescript Boilerplate

Typescript Starter
Quickly create and configure a new library or Node.js project
Stars: ✭ 2,953 (+1805.16%)
Mutual labels:  tslint, boilerplate, template
Express Graphql Typescript Boilerplate
A starter kit for building amazing GraphQL API's with TypeScript and express by @w3tecch
Stars: ✭ 163 (+5.16%)
Mutual labels:  tslint, starter-kit, boilerplate
React Firebase Admin
React ⚛️ starter kit with Firebase 🔥 and Bulma for setting up an admin dashboard - Highly scalable, PWA, Serverless
Stars: ✭ 232 (+49.68%)
Mutual labels:  starter-kit, boilerplate, template
Primitive
⛏️ ‎ A front-end design toolkit for developing web apps.
Stars: ✭ 783 (+405.16%)
Mutual labels:  starter-kit, boilerplate, template
Base
A starting point for Meteor apps.
Stars: ✭ 654 (+321.94%)
Mutual labels:  starter-kit, boilerplate, template
Graphql Starter
💥 Monorepo template (seed project) pre-configured with GraphQL API, PostgreSQL, React, Relay, and Material UI.
Stars: ✭ 3,377 (+2078.71%)
Mutual labels:  starter-kit, boilerplate, template
Extension Create
Create modern cross-browser extensions with no build configuration.
Stars: ✭ 167 (+7.74%)
Mutual labels:  starter-kit, boilerplate, template
Hartija Css Print Framework
Universal CSS for web printing
Stars: ✭ 509 (+228.39%)
Mutual labels:  starter-kit, boilerplate, template
Laravel Boilerplate
Laravel Boilerplate / Starter Kit with Gentelella Admin Theme
Stars: ✭ 704 (+354.19%)
Mutual labels:  starter-kit, boilerplate, template
Veluxi Starter
Veluxi Vue.js Starter Project with Nuxt JS and Vuetify
Stars: ✭ 39 (-74.84%)
Mutual labels:  starter-kit, boilerplate, template
Swift Project Template
Script to easily create an iOS project base code!
Stars: ✭ 136 (-12.26%)
Mutual labels:  boilerplate, template
Fullstack Apollo React Boilerplate
💥A sophisticated Apollo in React boilerplate project.
Stars: ✭ 136 (-12.26%)
Mutual labels:  starter-kit, boilerplate
Subzero Starter Kit
Starter Kit and tooling for authoring GraphQL/REST API backends with subZero
Stars: ✭ 136 (-12.26%)
Mutual labels:  starter-kit, boilerplate
Typescript React Starter
🚀 TypeScript [ React + React-Router + Redux + Redux-Thunk ] Starter
Stars: ✭ 132 (-14.84%)
Mutual labels:  redux-thunk, boilerplate
Automatic Gatsbyjs App Landing Page
Automatic GatsbyJS App Landing Page - Automatically generate iOS app landing page using GatsbyJS
Stars: ✭ 137 (-11.61%)
Mutual labels:  boilerplate, template
Next Js Blog Boilerplate
🚀 Nextjs Blog Boilerplate is starter code for your blog based on Next framework. ⚡️ Made with Nextjs, TypeScript, ESLint, Prettier, PostCSS, Tailwind CSS.
Stars: ✭ 134 (-13.55%)
Mutual labels:  starter-kit, boilerplate
Express Typescript Boilerplate
A delightful way to building a RESTful API with NodeJs & TypeScript by @w3tecch
Stars: ✭ 2,293 (+1379.35%)
Mutual labels:  starter-kit, boilerplate
React Universally
This starter kit contains all the build tooling and configuration you need to kick off your next universal React project, whilst containing a minimal "project" set up allowing you to make your own architecture decisions (Redux/MobX etc).
Stars: ✭ 1,704 (+999.35%)
Mutual labels:  starter-kit, boilerplate
Typescript React Native Starter
A highly scalable foundation with a focus on best pratices and simplicity to start your React Native project in seconds.
Stars: ✭ 141 (-9.03%)
Mutual labels:  starter-kit, boilerplate
Gatsby Blog Starter Kit
A simple starter kit for a static blog created with Gatsby
Stars: ✭ 131 (-15.48%)
Mutual labels:  starter-kit, boilerplate

React Native Template - TypeScript

Travis Code Climate License PRs Welcome

An opinionated React Native Starter Kit with React Native Navigation + Redux + Airbnb TSLint to build iOS and Android apps using TypeScript

The project has been setup based off RN Getting Started and instructions from Microsoft's Github TypeScript React Native Starter repo.


Supports React Native 0.63.3, React Native Navigation v7 and Flipper

Updates RNN RN React Comments
07 Oct '20 7.1.0 0.63.3 16.13.1 Support for Flipper
27 Apr '20 3.7.0 0.61.5 16.9.0 Support for RN > 0.60, Android X
02 Nov '19 2.26.2 0.59.10 Maintenance
08 Mar '19 2.13.1 0.58.6 16.8.4

Introduction

Jumpstart building robust apps using React Native and TypeScript with most commoly needed tools already setup. Just yarn install and get going from respective IDEs.

  • Routing and Navigation
  • State Management using Flux Architecture
  • Widgets / Elements Build your own design system with these building blocks.
    • elements: <BUTTON_DEFAULT> or <CText>. They are custom elements that have default properties like font, size and so on.
    • widgets: Any component providing a complete functionality. E.g. carousels component, banner component, etc.
  • Typography
    • Base Typography setup - Color, Font, LAYOUT, CTA, FONTS, TEXT, TEXT_INPUT
  • Code Lint

Disclaimer: This is an opinionated approach to building apps with RN. The project structure is inspired by multiple production apps built by the contributors.

App Screens
Splash Home Side Menu
Flipper Support

Flipper

Table of Contents

Project Structure

/
├── android					Android Native code
├── ios						iOS Native Code
├── shared
│   ├── redux					Applications Logic
│   │   ├── constants
│   │   ├── actions
│   │   ├── api
│   │   ├── reducers
│   │   ├── store
│   │   └── thunk
│   └── utilities
├── src
│   ├── config					Global Configuration
│   ├── constants				Screens, Localization
│   ├── navigators				Router, Navigation
│   ├── view					UI compoments
│   │   ├── elements			  Custom elements
│   │   ├── assets
│   │   ├── screens
│   │   ├── styles				  Typography
│   │   └── widgets				  Custom components
│   └── utilities
├── __tests__					Unit Tests
│   ├── presentation
│   └── redux
├── .babelrc
├── .gitignore
├── .travis.yml					Travis CI
├── tsconfig.json				TypeScript Configuration
├── tslint.js					TSLint configuration - extending AirBnb
├── tsconfig.json
├── app.json
├── index.js					Application Entry point
├── package.json
└── README.md

shared Everything related to application business logic. The redux store.

src Presentation layer for the app - screens, styles, images, icons etc.

Getting Started

Make sure node version installed is >=10.x.x. Then install using yarn (or npm):

yarn install

Start the Metro Bundler:

yarn start
iOS

One time. Move to ios folder and install pods:

cd ios && pod install

Launch application from XCode (Command + R) Or launch from Terminal:

yarn ios
# runs the following command. change device name here
# `npx react-native run-ios --simulator='iPhone 11'`
Android

Start an Android Simulator from:

Android Studio > Tools > AVD Manager > Run any device

Similarly, run from Android Studio itself Or from Terminal:

yarn android
# runs the following command
# react-native run-android --variant=Debug

Cheat Sheet

Single Screen vs Tabbed Based Navigation

The application launches with a splash screen, and then moves to a tabbed based navigation. Splash screen is a good place to fetch data / build application launch logic like getting user token from API or Async Store, load persist state etc.

For Single screen application, replace this tabbed based navigation with a single screen - just home, or simply use the splash screen to setup the app, may be with a burger menu.

Renaming the App

You might also want to rename the app for your own use. Follow any of the links below.

Or

Contributing

Please check out Contributing.

Authors

See also the list of contributors.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].