Skip to content

codesinghanoop/reactjs-react-native-userInfo-app

Repository files navigation

User info app

Setup

Prerequisites

  • Install and setup the backend server

Installation

  • run npm install or yarn install

Run on Device

  • run yarn android or yarn ios to run on device or emulator

Start the web version

  • run yarn start:web

Project info

Main objective of this project was to have a single code base for both web and mobile apps with the logic and view separated.

Project Structure

    /android                - React native android source code
    
    /app                    - React native specific code
        /screens            - connected to store components
        /App.js             - App Root component
        /router.js          - route config
        
    /assets                 - contains fonts
    /ios                    - React native ios source code
    
    /src
        /actions            - all redux actions
        /constants          - colors and Assets
        /reducers           - all reducers
        /sagas              - all redux sagas
        /service            - API methods
        /store              - store config
        /utils              - some utility functions

    /web                    - react js web specific code
        /screens            - connected to store components
        /App.js             - App Root component
        /routes.js          - route config
    /webpack                - webpack config
    

About

Single codebase for web(reactjs) and mobile app(react-native)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •