GithubHelp home page GithubHelp logo

wrathchaos / react-native-redux-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
38.0 4.0 12.0 20.86 MB

React Native Redux Boiler Plate

Home Page: https://www.freakycoder.com

JavaScript 44.61% Java 12.83% Ruby 13.39% Objective-C 19.98% Starlark 9.18%
react-native react redux boilerplate boilerplate-template front-end service mobile apple ios

react-native-redux-boilerplate's Introduction

React Native Redux Boilerplate

Battle Tested โœ…

React Native redux BoilerPlate

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

Installation

You can simply clone the project and start with your barebone project

git clone git@github.com:WrathChaos/react-native-redux-boilerplate.git

Step By Step Guide

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

ndk.dir=/Users/your-name/Library/Android/sdk/ndk-bundle
sdk.dir=/Users/your-name/Library/Android/sdk
  • cd .. & react-native run-ios/android

What's Included?

  • Redux
  • Redux Services
  • NavigationService
  • API Usage Service
  • Ready to use Styles
  • React Navigation v4
  • React Navigation Helpers
  • HTTP Network Management (Axios)
  • Built-in EventEmitter (EventBus)
  • Generic React Hooks API Request Service
  • Babel Plugin Module Resolver to fix the relative path problem (visit .babelrc)

Components

NavigationService (Already set it up)

Styles

  • colors
  • fonts
  • spacing
  • theme
  • font-size

Imports

import colors from "colors";
import fonts from "fonts";
import fontSize from "font-size";
import spacing from "spacing";
import theme from "theme";

if you want to call them all at once

import { theme, fonts, colors, spacing, fontSize } from "shared-styles/index";

Future Plans

  • LICENSE
  • Write an article about the lib on Medium

Author

FreakyCoder, [email protected]

License

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

react-native-redux-boilerplate's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar wrathchaos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

react-native-redux-boilerplate's Issues

Android Layout change issue

Hi
Everybody.
I developed one project.
This project is run good in the debug mode.
But this project is changed in layout(LinearLayout) when I build the release version.
How can I fix this error?
Thank you for your replying. :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.