Skip to content

React App directory structure turned into React Native Starter Kit. API Client, Helpers and Context Setup.

License

Notifications You must be signed in to change notification settings

gamingumar/react-directory-structure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-directory-structure

An opinionated React Native / React boilerplate for starting new Project.

  • React Native App directory structure with some basic boilerplate including some reusable components and context setup.
  • Use this to start new React Native project and similar pattern can also be followed in React Web Projects.
  • Browse through the src/ folder

Features

  • Context API
  • Components / Screens
  • Hooks
  • API Services Setup with apisauce
  • Config
  • Library Helpful functions
  • Navigation
  • Assets and Themes
  • Global error handling with notification
  • Typescript
  • Reactotron
  • AsyncStorage

Installation with React Native

  • copy src folder and App.tsx in your React Native app.

  • Update index.js with

import App from './src/Screens/App';

Navigation and other Libs:

yarn add react-native-reanimated react-native-gesture-handler react-native-screens react-native-safe-area-context @react-native-community/masked-view @react-navigation/bottom-tabs @react-navigation/drawer @react-navigation/material-bottom-tabs @react-navigation/stack
yarn add yup formik qs react-native-paper apisauce react-native-vector-icons lodash @react-native-async-storage/async-storage react-native-dropdownalert react-native-keyboard-aware-scroll-view react-native-modal react-native-size-matters @expo/react-native-action-sheet expo-constants expo-file-system expo-image-manipulator expo-image-picker expo-linking expo-location expo-web-browser expo-network

yarn add -D @types/lodash reactotron-react-native @types/react-native-vector-icons

cd ios && pod install && cd ../

Recommended and Required Dependencies:

Find all dependencies in package.json file.

App Icons Generators

Semver

https://github.com/zmnv/react-native-semver-update#readme

Inspired by Ignite typescript boilerplate. https://github.com/aerian-studios/ignite-typescript-boilerplate

About

React App directory structure turned into React Native Starter Kit. API Client, Helpers and Context Setup.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published