Skip to content

This is a template for building React Native apps with the Expo framework and Redux for state management. It includes a basic file structure and configuration for setting up a Redux store, along with some example actions and reducers.

Notifications You must be signed in to change notification settings

pvdzxc/react-native-expo-redux-template

 
 

Repository files navigation

React Native Expo Redux Template

NPM Version Build Expo OTA

This is a template for building React Native apps with the Expo framework and Redux for state management. It includes a basic file structure and configuration for setting up a Redux store, along with some example actions and reducers.

Getting Started

To use this template, you should have the Expo CLI installed on your system. You can install it globally using npm:

npm install -g expo-cli

To create a new project using this template, please clone this repository. Then run:

yarn install

File Structure

The template's file structure is organized as follows:

  • src/: This folder contains the source code for the template, organized into sub-folders as follows:

    • Components/: This folder contains reusable components for the app.

    • Config/: This folder contains configuration files for the app, such as API endpoints, environment settings, and theme configuration.

    • Hooks/: This folder contains Redux and custom hooks for the app.

    • Localization/: This folder contains localization files for the app, allowing for easy translation to different languages.

    • Navigation/: This folder contains navigation files for the app, such as stack navigation, drawer navigation, or tab navigation.

    • Screens/: This folder contains the main screens of the app.

    • Services/: This folder contains service files for the app, such as API calls or Firebase integration.

    • Store/: This folder contains Redux-related files, including the store configuration and reducers.

    • Theme/: This folder contains files related to the app's visual theme, such as colors, typography, and spacing.

Known Issues

ApiV2Error: Not Authorized.

Reason and how to remove this issue: expo/expo-cli#2436 (comment)

Contributing

If you have suggestions for how this template could be improved, or want to report a bug, please open an issue or a pull request. We welcome contributions from the community!

About

This is a template for building React Native apps with the Expo framework and Redux for state management. It includes a basic file structure and configuration for setting up a Redux store, along with some example actions and reducers.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 97.8%
  • JavaScript 2.2%