Javascript
61.3K views | +0 today
Follow
Javascript
Ressources about Javascript languages.
Curated by William delmas
Your new post is loading...
Your new post is loading...
Scooped by William delmas
Scoop.it!

Building a Simple Spotify Player with Ionic

Building a Simple Spotify Player with Ionic | Javascript | Scoop.it

Spotify is a great way to stream all of your loved music. As nearly all great services have a public API today, so has Spotify. In this tutorial I will show you how to login to Spotify, access your playlists, read the track data and also play some music snippets. Everything will be wrapped inside a mobile app using the great Ionic Framework.



No comment yet.
Scooped by William delmas
Scoop.it!

How To Make A HealthKit App With Ionic and ngCordoa

How To Make A HealthKit App With Ionic and ngCordoa | Javascript | Scoop.it

Since the release of the iOS 8 SDK, developers have access to the HealthKit App and its services. Through this service you can read and write body data like weight, height or store a complete sports workout session. To implement this feature in your Ionic app, you can make use of thengCordova wrapper for cordova plugins, and that’s what I will show you today.

We will make a simple App to write some general data and to submit a complete workout to the Health app, which will then be displayed inside the standard iOS app.



No comment yet.
Scooped by William delmas
Scoop.it!

Making a lock pattern login ionic and AngularJS

Making a lock pattern login ionic and AngularJS | Javascript | Scoop.it

The starting point for this tutorial is my last tutorial about a simple login with ionic. If you haven’t followed you can get it on my github repo.

First of all you need to download the loginpattern library created by Sudhanshu Yadav from his github repo. Copy the PatternLock js and css file into your ionic project under www/lib/patternLock.

As the lib needs jQuery, you need to install it. Installing things with bower is the most easy way, so go to your command line from the root of your ionic project and run:



No comment yet.
Rescooped by William delmas from JavaScript for Line of Business Applications
Scoop.it!

How To Handle User Authentication With AngularJS

How To Handle User Authentication With AngularJS | Javascript | Scoop.it

Implementing a login and user authentication system for your AngularJS app seems to be one of the hardest problems people encounter. My article on a simple login with Ionic and AngularJS is the far most viewed article on this blog, every day! As the mentioned article only describes a basic system for a very low level security, this article will highlight everything you need for a complete user authentication and login inside your AngularJS app!



In particular this means, this article will show you how to:

  • Log in a user and store the user session (Token based auth!)
  • Protect your routes based on authentication status and role of the user
  • Notice when an unauthorised request was made and a new login is required

Via Jan Hesse
No comment yet.