Giter VIP home page Giter VIP logo

pelco-mobile's Introduction

Pelco 1 Reminder App - Mobile

Table of Contents

Technologies

  • Ionic v5.5.x
  • ReactJs v17.0.x
  • Android Studio SDK for building apk
    • minSdkVersion: 21
    • compileSdkVersion: 30
    • targetSdkVersion: 30

System Requirements

  • Android Version: Lollipop (v5-v5.1.1) and up
  • Storage: 10MB minimum
  • RAM: at least 2GB
  • Stable Internet connection

Setup

1. Clone repository and change directory

git clone https://github.com/pelco-app/pelco-mobile.git

2. Install dependencies

npm install

3. Configure credentials in .env file

REACT_APP_ENV="development"
REACT_APP_API_URL="http://[ip_address_from_api]:8000"

4. Run server

npm start

Live Reload

  • Make sure to connect your phone with USB debugging on and connected to the same network, then:
adb tcpip 5555
adb connect [mobile_ip_address]
npm run serve:live

Building

  • Android Studio will open, then click on "Build"
  • Apk build is location in ./android/app/build/outputs/apk/debug folder
ionic cap build android

Essential folders:

  • android: auto-generated folder that is used when building an apk for android
  • src
    • assets: contains the logos and images used across the app
    • components: contains the reusable components across the app. eg: Button
    • pages: contains the pages that the users can visit across the app
    • states: contains the application states or variables while the user uses the app. eg: if the OTP pane should be displayed
    • styles: contains the global styles for the app
    • utils: contains all the useful functions that can be used again and again
    • AppRoutes.tsx: list of pages that the user can visit while not logged in
    • Tabs.tsx: list of pages that the user can visit while logged in
  • .env: file that contains the configurations for the project

pelco-mobile's People

Contributors

pjsalita avatar

Watchers

James Cloos 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.