Coder Social home page Coder Social logo

nawfalhaddi / react-native-template-by-nh Goto Github PK

View Code? Open in Web Editor NEW
42.0 1.0 5.0 6.53 MB

React Native Template: Scalable, Fully typed, Best Practices, Easy to Maintain

Home Page: https://nawfalhaddi.github.io/react-native-template-by-nh/

JavaScript 6.62% TypeScript 74.38% Ruby 3.86% Objective-C 5.95% Objective-C++ 2.08% Shell 0.51% Kotlin 6.61%
javascript maintained react-native scalable template typescript organized

react-native-template-by-nh's Introduction

Get started

This template was made with love, to share in details our personal approach to design a react native application with best third-party libraries, please check our documentation for more details. If you have any idea or suggestion to improve this template, please feel free to reach out to us or open an issue/PR inside this repo.

Libraries that are used in this template:

  • React-native Version 0.74
  • Navigation: react-navigation V6
  • API request: react-query and axios
  • State Management: redux-toolkit and redux-persist
  • Translation: i18next and react-i18next react-native-localize
  • Forms: react-hook-form and yup
  • Storage: react-native-mmkv
  • Styling: styled-components
  • Testing: @testing-library/react-native

What you'll need:

  • Make sure your environnement is ready to run a react native application. if it's not, please check the official documentation of react native to set up your environnement.

Start a new project:

Once your environnement you're ready to go with creating a new react native application using our template.

  • First, navigate to where you want to start your project and run the following command.
npx [email protected] init MyApp --template [email protected]

If you want to use the latest version of react-native, type the following command:

npx [email protected] init MyApp --template [email protected]
  • Once it's done, run this command in order to navigate to your new project and set it up for android and ios:
cd MyApp && git init && yarn setup

Note: the script yarn setup contains all necessary commands to setup your application for android and ios. if you want to know what are these commands check the script setup inside package.json file.

react-native-template-by-nh's People

Contributors

nawfalhaddi 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  avatar  avatar  avatar  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.