Skip to content

RogerShenAU/ionic-login

Repository files navigation

This is a starter template for Ionic 3 with server-side authorisation.

ionic starter app screenshot

How to use this template

This template does not work on its own. The shared files for each starter are found in the ionic2-app-base repo.

To use this template, either create a new ionic project using the ionic node.js utility, or copy the files from this repository into the Starter App Base.

With the Ionic CLI:

Take the name after ionic2-starter-, and that is the name of the template to be used when using the ionic start command below:

$ sudo npm install -g ionic cordova
$ ionic start myBlank blank

Then, to run it, cd into myBlank and run:

$ ionic cordova platform add ios
$ ionic cordova run ios

Substitute ios for android if not on a Mac.

Two easy ways to connect to your RESTful API

  1. WordPress authorization
  2. PHP authorization

Reference

Simple Ionic Login with Angular 2+ - https://devdactic.com/login-ionic-2/