Skip to content

๐Ÿš€ A powerful react-native boilerplate code [Updated 0.59.8]

Notifications You must be signed in to change notification settings

adityasonel/infopedia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ Infopedia - React Native Boilerplate

Say Thanks!

The alternative to good architecture is always bad architecture.
There is no such thing as no architecture.

-Walter White

React Native React Navigation V3 Axios Axios

Infopedia is a starting point for React Native application. This project is configured with redux, redux saga, redux thunk and axios. Latest version of react-navigation with NavigationService instead of Redux Integration.

Scalability Factor

This Type based Architecture scales smoothly for small - medium apps. If you guys are building a very large application I would suggest using the following feature based architecture which will be more developer friendly with ease of scaling.

Screenshots

Features

Prerequisites

Getting Started

  1. Clone this repo, https://github.com/adityasonel/infopedia.git <your project name>

  2. Go to project's root directory, cd <your project name>

  3. Remove .git folder, rm -rf .git

  4. Open package.json and change the name property with your project name

  5. Open index.js and replace 'Infopedia' by your project name

  6. Open app.json and replace 'Infopedia' by your project name

  7. Run yarn or npm install to install dependencies

  8. Run react-native eject to upgrade and add iOS & Android Folders.

  9. Run react-native link

  10. Latest versions of react-naviagtion uses gesture handler which is native module. For android you have to do some additional steps to configure them. Follow these instructions

FYI: Navigation should work fine even without these but when u need gestures or drawer navigation you need this setup

  1. Start the packager with npm start
  2. Connect a mobile device to your development machine
  3. Run the test application:
  • On Android:
    • Run react-native run-android
  • On iOS:
    • Open ios/YourReactProject.xcodeproj in Xcode
    • Hit Run after selecting the desired device
  1. Enjoy!!!

Contributing

PRs are welcome

Questions? ๐Ÿค”

Hit me on

Twitter Linkedin