/react-native-redux-boilerplate

A React Native starter template with Redux Toolkit and Typescript

Primary LanguageTypeScriptMIT LicenseMIT

React Native Redux boilerplate with Redux Toolkit (RTK) and TypeScript.

A React Native starter template.

Features

  • Redux setup with Redux Toolkit.
  • Offline storage with Redux Persist.
  • New Architecture ready (Android release build is success)
  • Typescript
  • Dark Mode
  • Navigation setup
  • Login wiring (optional)
  • Sample CRUD code (To Do App) included.
  • Sample Network Call (RTK) included.
  • Secure Token storage.
  • Husky
  • Environment Variables (ENV)
  • Storybook configured

Dependencies

  • React Native v0.73.4
  • Redux Toolkit (RTK) v2.0
  • TypeScript
  • React Navigation v6
  • React Native Vector Icons
  • Formik & Yup
  • Axios
  • React Native Keychain
  • Redux persist
  • Storybook

Screenshots

       

Installation

Clone this repo

git clone https://github.com/saheeranas/react-native-redux-boilerplate.git

Open project folder and install dependencies

cd react-native-redux-boilerplate
yarn
or
npm i

Rename environment variable files

Example: .env.template file to .env

Run the project

yarn android
or
npm run android

or

yarn ios
or
npm run ios

License

This project is licensed under the MIT License - see the LICENSE.md file for details