Giter Site home page Giter Site logo

app's Introduction

#PheedBack App

PhoneGap day demo application that allows the users to participate in a survey using his/her mobile phone. The user signs in using his/her FaceBook account and provides ratings to the questions by moving the phone.

Using the application -

Once you sign in using your FB Account, the application presents the user with a series of questions on a stack of cards. The user tilts the phone left/right to rate the questions. To flip to the next question, the user swipwes the card with his fingers and to submit the feedback, the user simply shakes the phone.

Getting Started -

  • Git Clone the workspace
  • At the root, type "npm install"
  • At the root, install the following plugins -
    • cordova-plugin-whitelist
    • cordova-plugin-inappbrowser
    • cordova-plugin-device-motion
    • cordova-plugin-hockeyapp
    • de.appplant.cordova.plugin.local-notification

Building the application -

Once you enlist or sync to the git repo, remove all the previously added platforms and re-add them. This will also add the plugins since they are saved into the config.xml. Now add the platform and build using Cordova, Ionic or TACO CLI as,

cordova/ionic/taco build/run/emulate [platform]

Unit Testing the application -

The app can be tested by running

gulp [test]

which runs the unit tests defined at /tests/unit.

UI/Layout Testing the application -

To perform end to end layout testing, you would need to install the following pre-requisites

  • Appium (npm install -g appium)
  • Web-Driver (npm install -g wd)

Once, installed you can run the UI tests running on the emulator/device.

  • First run appium server,

    $ appium

  • Run the actual tests, by running protractor from the root of the project, as

    $ node_modules/protractor/bin/protractor tests/protractorlocal.config.js

CodePush

Use the CodePush CLI @ https://microsoft.github.io/code-push/docs/getting-started.html and register your app for code-push. You need to create a deploymentkey for the platform you are targetting and add it to your config.xml

app's People

Contributors

subhagpo avatar

Stargazers

 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.