Code Monkey home page Code Monkey logo

authenticate.me-client-cordova-ionic's Introduction

Authenticate.me app front end (ionic, angularjs, cordova)

A starting project to achieve server side authentication for hybrid apps. This is the front end. You can either create your server side api based on the following blog post : http://www.frnchnrd.com/blog/ or reuse the authenticate.me server nodejs codebase.

Update cordova to 3.6.0

Note : you'll need the latest version of cordova (3.6.0) for the inAppBrowser plugin to work correctly with ios8 otherwise it will be broken.

Screenshots

Main Page

Sign In Page

SignUp Page

Instagram login page

Twitter login page

Profile page

User sidebar

Users list

APK

you can download the apk here

Using this project

The following steps assume your environment is android / ios ready. If you haven't downloaded the appropriate SDKs (ADT, or xcode) and setup the appropriate PATH variables (mostly for android), please do so before doing the steps below. You'll need nodejs installed as well.

1. Ionic / Cordova

make sure both ionic and cordova are installed on your machine if not run the following command :

 npm install -g cordova ionic

Note : if npm isn't defined you'll need to install node

2. Clone this repo

 git clone https://github.com/malikov/Authenticate.me-client-cordova-ionic.git

Then navigate to the repo :

 cd Authenticate.me-client-cordova-ionic

3. Dependencies

Run :

 npm install

This should install all dependencies for the project.

4. Add a platform

Once the dependencies installed, you'll need to add a platform (Warning this project has been tested for iOs and Android devices ony)

Run :

 ionic platform add android
 ionic platform add ios

Then to build the project run:

 ionic run android
 ionic run ios

5. Configuration

I'd start by looking at the AuthService and Constants.js file. The api url implemented on the client side for the login/registration needs to match the router's url on the server side

TODO

tests

add facebook add native sdk functionalities (i.e : use facebook or twitter's sdk if the app is installed on the phone use the native app otherwise fallback to window.open)

authenticate.me-client-cordova-ionic's People

Contributors

malikov avatar

Watchers

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