Giter Club home page Giter Club logo

react-native-vietnguyenhoangw-template's Introduction

React Native - Template

React Native template has built by vietnguyenhoangw

This template building for skip some basic steps like build source's structure, common components: button, image, text, view... (read more in components folder), config basic lib: i18n, rn-fast-image, navigation, production and staging environment, redux-saga, crop-image, image picker... (read more in package.json file).

Based on Ignite Boilerplate and custom by vietnguyenhoangw
Ignite official docs: https://github.com/infinitered/ignite

Features

  • Components's fast-styles properties (h1, h2, center, fillWidth, bold, row, col ...) code-snapshot
  • Integrate staging, production dev mode
  • Avaiable redux-saga, api-sauce, i18n, navigation...

Everything you need is develop the new feature and custom some components and styles following projects requirement.

Tech

Project folder's structure and features.

  • [assets] - Contain image and icon folder.
  • [components] - Define common components or custom components in app like button, image, text, ect... [Noticed: Component's name start with first character is 'C', 'CText', 'CView' to recognize between Custom Component and Default component in react-native lib].
  • [config] - Config api in this one.
  • [containers] - Contain screens. Every screen have 3 main file namescreen-screen, index and styles. And we still can create more screen folder into screen dependent on feature or task requirements.
  • [i18n] - Config multiple language.
  • [models] - Contain 2 of folder. app with global app's interface and api-reponse with api-reponse interface (json's properties).
  • [navigation] - Config navigation, navigate's method...
  • [redux] - Config and handle redux, store, reducer...
  • [sagas] - Config and handle sagas.
  • [services] - Define api methods.
  • [themes] - Define config colors, fonts, images, metrics, common styles...
  • [utils] - Contain utils methods.

Installation

Require basic environment to run React-native app (Node, java, yarn ...) following official docs:

https://reactnative.dev/docs/environment-setup

  • Init project

1. Init project
npx react-native init AppName --template https://github.com/vietnguyenhoangw/react-native-vietnguyenhoangw-template.git
  • Run projects

1. Start
yarn start

2. Run
yarn run-android-staging (to debug with staging env)
or
yarn run-android-production (to debug with production env)

License

vietnguyenhoangw-2021

Contacts

Email, Skype: [email protected]
Github: vietnguyenhoangw
Linkedin: https://www.linkedin.com/in/viet-hoang-nguyen-656227171/

Everything is free, Hell Yeah!

react-native-vietnguyenhoangw-template's People

Contributors

vietnguyenhoangw avatar huynhtrungthoai avatar

Stargazers

 avatar

Watchers

 avatar

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.