Skip to main content

Get started

This documentation is made with love to explain our approach to designing a react native application with the best third-party libraries in detail. If you have any ideas or suggestions to improve this template, please feel free to reach out to us or open an issue inside the repo of this template.

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 environment is ready, create a new react native application using our template.

  • First, navigate where you want to start your project and run the following command.
npx react-native@0.70.5 init MyApp --template react-native-template-by-nh
  • Once it's done, run this command 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 set up your application for android and ios. To know these commands, check the script setup inside the package.json file.

Libraries that are used in this template:

  • react-navigation V6
  • react-query and axios
  • redux-toolkit and redux-persist
  • i18next and react-i18next react-native-localize
  • react-hook-form and yup
  • react-native-mmkv
  • styled-components
  • @testing-library/react-native