All Projects β†’ Justin-Credible β†’ Ionic Typescript Mdha Starter

Justin-Credible / Ionic Typescript Mdha Starter

Licence: mit
πŸ“± This is an boilerplate starter project I use to bootstrap mobile applications. It is built with Ionic, AngularJS, TypeScript, and runs in Cordova. It is built upon the Visual Studio Tools for Apache Cordova project provided in Visual Studio 2015.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Ionic Typescript Mdha Starter

Ionic Typescript Starter
πŸ“± Platform and IDE agnostic starter project for building mobile apps with Ionic and TypeScript.
Stars: ✭ 124 (+77.14%)
Mutual labels:  starter, cordova, ionic
Capacitor
Build cross-platform Native Progressive Web Apps for iOS, Android, and the Web ⚑️
Stars: ✭ 6,598 (+9325.71%)
Mutual labels:  cordova, ionic
Cordova Background Geolocation Lt
The most sophisticated background location-tracking & geofencing module with battery-conscious motion-detection intelligence for iOS and Android.
Stars: ✭ 600 (+757.14%)
Mutual labels:  cordova, ionic
Angular Pwa Seed
Multiplatform Angular project (Web/PWA, Mobile and Desktop) with Ionic (and optionally Bootstrap) - Sample: https://angular-pwa-seed.netlify.com
Stars: ✭ 68 (-2.86%)
Mutual labels:  cordova, ionic
Awesome Cordova
πŸ“± A curated list of amazingly awesome Cordova libraries, resources and shiny things.
Stars: ✭ 269 (+284.29%)
Mutual labels:  cordova, ionic
Cupertino Pane
πŸŽ‰πŸ“±Multi-functional panes and boards for next generation progressive applications
Stars: ✭ 267 (+281.43%)
Mutual labels:  cordova, ionic
Cordova Admob Pro
πŸ”₯ Cordova Plugin for Google AdMob, DFP, ADX. Easy monetization using mobile Ad, with single line of JavaScript. Compatible with Cordova CLI, Inoic, PhoneGap Build, etc.
Stars: ✭ 690 (+885.71%)
Mutual labels:  cordova, ionic
ionic4-angular6-crud-example
Building CRUD Mobile App using Ionic 4, Angular 6 and Cordova
Stars: ✭ 50 (-28.57%)
Mutual labels:  cordova, ionic
Polyonic
A managed Electron wrapper for Ionic Apps
Stars: ✭ 24 (-65.71%)
Mutual labels:  cordova, ionic
Storage Based Queue
Javascript queue library with persistent storage based queue mechanism for the browsers environments. Specially designed for offline.
Stars: ✭ 33 (-52.86%)
Mutual labels:  cordova, ionic
Ionic4
This repo contains example code for ionic4. Get Step by Step tutorial of this repo examples using https://ampersandacademy.com/tutorials/ionic-framework-4
Stars: ✭ 37 (-47.14%)
Mutual labels:  cordova, ionic
Vscode Cordova
A Visual Studio Code extension providing intellisense, debug, and build support for Cordova and Ionic projects.
Stars: ✭ 267 (+281.43%)
Mutual labels:  cordova, ionic
ionic-multi-camera
Take multiple photos one after another
Stars: ✭ 12 (-82.86%)
Mutual labels:  cordova, ionic
Cordova Plugin Ionic Webview
Web View plugin for Cordova, specialized for Ionic apps.
Stars: ✭ 419 (+498.57%)
Mutual labels:  cordova, ionic
setup-ionic
Set up your GitHub Actions workflow with Cordova/Ionic environment
Stars: ✭ 23 (-67.14%)
Mutual labels:  cordova, ionic
Generator M Ionic
Advanced workflows and setup for building rock-solid Ionic apps
Stars: ✭ 677 (+867.14%)
Mutual labels:  cordova, ionic
Sentry Cordova
The official Sentry SDK for Cordova
Stars: ✭ 49 (-30%)
Mutual labels:  cordova, ionic
ionic-native-sms-retriever-plugin-master
Cross-platform plugin for Cordova / PhoneGap to Retrieve SMS. Available for Android.
Stars: ✭ 16 (-77.14%)
Mutual labels:  cordova, ionic
scanbot-sdk-example-ionic
Scanbot scanner SDK example app for Ionic with Cordova.
Stars: ✭ 24 (-65.71%)
Mutual labels:  cordova, ionic
Awesome Ionic
An "awesome" list of Ionic resources
Stars: ✭ 799 (+1041.43%)
Mutual labels:  cordova, ionic

Ionic-TypeScript-MDHA-Starter

Note: Unless you absolutely must use Visual Studio 2015, I strongly suggest using the IDE and platform agnostic version of this starter project: Ionic-TypeScript-Starter.

This is a sample project that I use as a starting point for developing new mobile applications. This starter project targets iOS, Android, and Chrome (as an extension).

It uses the Ionic framework (version 1.x, built on AngularJS 1.x) which makes it possible to rapidly build apps that feel native.

The project is written primarily in TypeScript which decreases development time and increases maintainability (with object oriented and type-safe code, compile-time checking, and IDE tooling such as refactoring and code completion).

Development is done in Visual Studio 2015 using the Visual Studio Tools for Apache Cordova project (previously known as Multi-Device Hybrid Application).

In-browser development and debugging is possible via the Chrome developer tools. When deployed to a physical device, the application runs in the Cordova application container. Both of these are provided out of the box when using VS2015.

Documentation

Documentation is available online at the project website.

Note: Currently, this documentation is for the IDE and platform agnostic version of this starter project: Ionic-TypeScript-Starter. There may be several discrepancies, some of which are explained below.

Environment Setup

The following external prerequisites are required:

Note: If you want to run on a emulator or physical device, you'll need your environment setup for iOS or Android development.

Configure Visual Studio

This project uses gulp to build TypeScript, SASS, etc. You'll want to make sure the Task Runner Explorer window is visible:

  • View > Other Windows > Task Runner Explorer

Next, configure Visual Studio to use the same version of Node that is available via your path:

  1. Tools > Options
  2. Projects and Solutions
  3. External Web Tools
  4. Add the path to your node installation to the top of the list (eg C:\Program Files\nodejs)

This can be verified by executing node --version at a command prompt and comparing the version to the gulp echo-node-version task when executed from Visual Studio's task runner explorer. More details are available here.

Modify your path

All other dependencies are installed in the project directory via npm. To use them you'll need to add ./node_modules/.bin to your path. Using the dependencies directly from the project directory reduces dependency hell with globally installed modules and ensures all development is done using the exact same versions of the modules.

The path should be appended via the System > Environment Variables GUI and Visual Studio should be restarted for the changes to take effect.

Getting Started

In addition to installing Visual Studio, the installer will take care of downloading and setting up all the dependencies you need for developing Cordova applications (Node.js, Apache Ant, Oracle JDK 7, the Android SDK, Google Chrome and more).

You can clone the repository to your machine using:

$ git clone https://github.com/Justin-Credible/Ionic-TypeScript-MDHA-Starter

Once you've installed VS2015, and cloned this repository you should be able to open the solution file:

Ionic-TypeScript-MDHA-Starter.sln

In the solution explorer you'll see a dependencies node with both the node and bower dependencies. If they do not automatically begin restoring, you'll have to right click them manually.

After the dependencies are installed, you can use the various gulp tasks from the Task Runner Explorer or the command line.

Gulp Tasks

The following tasks can be used to perform code configuration, library and plugin setup, and TypeScript compilation.

$ gulp config     # Creates www/js/build-vars.js from config.xml and runtime-config.json values
$ gulp templates  # Compiles Angluar HTML templates from src/Views/**/*.html to www/js/templates.js
$ gulp sass       # Compiles SASS from src/Styles/Index.scss to www/css/bundle.css
$ gulp libs       # Install third Party JS libraries to www/lib as defined in bower.json
$ gulp tsd        # Install TypeScript definitions as defined in tsd.json
$ gulp ts         # Compiles TypeScript code as configured by src/tsconfig.json

Note: You can also just run gulp without any arguments which will run all of the above targets.

Note: If you have issues running gulp or any of the gulp tasks above, ensure that you've added ./node_modules/bin to your path and that it is tawking precedence over npm's global location. You can verify this by using the which gulp.cmd from the project directory. The local node_modules path should be listed first. In addition, where tsc.exe should be run to ensure the TypeScript compiler used is from the project directory instead of Visual Studio's global version.

After you've run the tasks, you can now use the Visual Studio play button to launch the Ripple emulator.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].