Giter Site home page Giter Site logo

ionic-starter-mcs's Introduction

This is an addon starter template for the Ionic Framework and [Oracle Mobile Cloud Service (MCS)] (https://cloud.oracle.com/mobile).

How to use this template

The purpose of this template is to provide you a starting point with your Ionic based mobile app when using the Oracle Mobile Cloud Service mobile backend. This template is provided "as-is" and you should make sure you adjust the code to reflect your environment before running it.

With the Ionic tool:

To get started, run the following commands:

$ ionic start your_app_name https://github.com/mjabali/ionic-starter-mcs

$ cd your_app_name

Edit the www/js/app.js file and update the two constant variables (HostMcsUrl and MCSBackendID) on lines 9 and 10 to reflect your Oracle Mobile Cloud Service mobile backend.

$ ionic serve

And you should be able to see the login page where you're going to authenticate against your mobile backend. Make sure you have the FixItFast mobile backend available as the demo code queries for incidents after the login process or update the code accordingly based on your needs.

It's also recommended that you disable CORS before testing this example in the browser.

Chrome: Run Chrome with the followin flag --disable-web-security

Firefox: Run Firefox with about:config -> security.fileuri.strict_origin_policy -> false

If you're successfuly able to run the demo, you can go ahead and test it in the emulator or real device.

Add your target platform (iOS, Android)

$ ionic platform add platform_of_choice

Build the app to your platform of choice

$ ionic build platform_of_choice

Run the app on the iOS Simulator or the Android Emulator

$ ionic emulate platform_of_choice

Issues

ionic-starter-mcs's People

Contributors

mjabali avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

dujun86

ionic-starter-mcs's Issues

Change Login URL

Change the login URL to avoid loading all incidents during that process

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.