Giter Site home page Giter Site logo

sherbekmavlonov / mobile-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ice-blockchain/mobile-app

0.0 0.0 0.0 60.95 MB

React Native App for the mining of ice coins.

License: Other

Shell 0.09% JavaScript 0.67% Ruby 0.52% Objective-C 0.10% Java 0.46% TypeScript 97.85% Objective-C++ 0.30% Swift 0.01%

mobile-app's Introduction

Ice Blockchain Mobile App

React Native App for the mining of ice coins

Project Structure

- src: Main container of all the code inside the application
    - api: Methods to communicate with the backend
    - assets: Assets folder to store all the images, icons, fonts, etc
    - components: Folder to store common components that are used throughout the app (such as Button, Switch, Avatar etc)
    - hooks: Common hooks
    - navigation: App navigation components. Those are stacks, tabs and so on
    - screens: Screen components. Each screen contains `index.tsx` with the main screen markdown plus optional `components` `assets` `hooks` subfolders with the corresponding content
    - services: Abstraction layer over some common services (e.g. keychain, analytics, logging and so on)
    - store: Redux configuration files (store, middlewares etc) and business logic modules. Each module might consist of selectors, actions, sagas, reducers and hooks
    - translations: Everything related to the app l10n
    - utils: Reusable functions which are helpful for accomplishing routine tasks
    - App.tsx: Main component that starts the whole app
- ios android: Folders, containing native iOS and Android projects and everything related
- index.js: Entry point of the application as per React-Native standards

Run the App locally

  • Follow the steps to setup the environment

  • Install dependencies

    yarn install
    
    ## Optional: for iOS only
    npx pod-install
    
  • Set the App environment

    yarn configure:staging
    ## or
    yarn configure:production
    

    [!NOTE] The commands above take the app env files from the mobile-app-secrets folder that should be downloaded beforehand and placed on the same level as the mobile-app project

  • Run the App

    yarn run:android
    ## or
    yarn run:ios
    

Localization rules

We’re keeping translations in src/translations/locales/**.json. The translation types are generated with yarn generate-translation-types script (should be applied after any locale modification). The types are generated based on en.json - that is the main locale and the fallback for other locales.

Download the App

Download the App at https://ice.io

mobile-app's People

Contributors

ice-orion avatar ice-hades avatar ice-hector avatar ice-atlas avatar ice-ares avatar ice-aiolos 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.