New Habit: iOS App Built on the Platform With Ionic and Backend Services

Posted: November 29th, 2016Author:


Christophe Bruchansky, an customer has built a wonderful iOS app using the platform. Read about his app, how he built it, and install it on your iPhone.

New Habit is a free iPhone app that aims at giving you that little boost you need to stay motivated. Choose between five personal goals, such as enjoying the present moment, feeling the love, or being more healthy. And get a daily digest of inspiring questions to ask yourself, motivational quotes, articles, and videos. In less than five minutes, a virtual life coach will guide you through three daily inspirations and give you that feeling of completion.


New Habit app.

It is based on the Ionic framework and developed using the platform for both the front-end and back-end. rapid development platform helped reduce development time, with Javascript code that works both on iOS and Android.

For backend services, the app uses Push Notifications, cloud database, and Server Code for server-side JavaScript app logic. The app integrates with Aylien API which is used for sentiment analysis and deep learning technology to provide the most relevant and positive articles on the web. The app also integrates with YouTube API for its videos.

Many health and wellbeing apps overwhelm their users with tasks and information to read, making them arguably more frustrated and self-obsessed than before. New Habit aims at being simple and satisfying, at opening a bit people’s horizon and helping them to have a more holistic approach to their personal goals.

Christophe said:

My belief is that people need to get more positive influences in order for them to stick to their resolutions. I thought I could create an app that gives the same sense of satisfaction than mini-games, but with a purpose, something people could actually use to changes their lives.

To install the app and learn more, please visit the following links: 


App Store:


Twitter: @newHabit_today


How to Build and Test a Complete Ionic App with an API Backend

Posted: November 22nd, 2016Author:

This video shows how to build and test a complete Ionic app with an API backend.

The video tutorial starts by showing how to create an app backend with API Express by connecting to an external REST API (

Then, the tutorial shows how to build an Ionic app and import the backend service into the app. The tutorial also shows how to make a small change to the generated code. The tutorial then shows how to test the app in the browser and also on a device using the Tester app. Lastly, the tutorial shows where to build a binary file for iOS or Android for submission to an app store.

Looking for more videos like this? Check out our YouTube channel.

An Apache Cordova Library Update Is Coming Up

Posted: November 21st, 2016Author:

A Quick Guide for Setting Up and Invoking Salesforce API

Posted: November 15th, 2016Author:

In this blog post you will learn how to build an app that connects to Salesforce API. After a login into Salesforce, the app will display a list of Salesforce objects available in your account.

The complete app has the following components:

  • App UI (client).
  • Server Code for server-side logic to handle OAuth flow.
  • Salesforce account and app to access the data in your account.

Let’s get started.

Salesforce App

The first step is to create a Salesforce app which will allow you to access your Salesforce account data.



A new app is created from the left-hand menu in your Salesforce account (Build > Create > Apps). There are a number of important values that you will be using later:

  • Consumer Key.
  • Selected OAuth Scopes.
  • Consumer Secret.
  • Callback URL.

Consumer Key and Consumer Secret are generated when you create a Salesforce app. The Callback URL is set by you (I will cover this later). For Selected OAuth Scopes, you can set it to Full access plus any specific scopes. Once you have tested your app, you can start removing scopes and leave only the once that the app requires.

Once you have the Salesforce app configured, next you need to create the app backend.

Read the rest of this entry » October 2016 Newsletter

Posted: November 14th, 2016Author:

Email newsletter sent in early November.

Platform News

We have been getting a lot of questions on iOS 10 support. We are in the process of upgrading to one of the latest Apache Cordova versions. This Cordova update will allow us to support iOS 10. We plan to have iOS 10 support by end of this year. Stay tuned.

4 Ways to Send a Push Notification Message

Sending Push Notification messages to users is a fundamental capability in an enterprise mobile app. The platform comes with Push Notifications component out-of-the-box and allows quickly sending targeted messages to iOS and Android devices. There are 4 ways to send a Push Notification message:

  • Push Notifications Console.
  • Server Code Push Notifications API (server-side).
  • Push Notification REST API.
  • Customer Console.

Read the rest of the blog post to learn more.

How to Perform Basic Database Operations

CRUD (Create, Read, Update, Delete) describes the basic database operations that most enterprise apps perform. This blog post explains how to perform these operations from Server Code.

New Videos

We published new videos to help you learn how to build apps faster. Check them out.

Subscribe to our YouTube channel to be notified when we publish new videos.

Sample Apps

Do you know that we have sample apps for SMS, email, camera, barcode scanner, and others? A sample app has a UI and a backend preconfigured so you can quickly run the app, show as an example or use it as a starting point. Check out the apps today.

Update to Library Version Used in Your jQuery Mobile App

Please read this blog post to learn if you need to update the library version used in your jQuery Mobile app.

Learn How Makes it Fast to Build a Cordova (Hybrid) App for iOS or Android

Posted: November 10th, 2016Author:

One of the core components in platform is a cloud build service which builds a binary file (hybrid) for iOS or Android. leverages Apache Cordova (PhoneGap) to create a binary file. Launching the build process is very simple. Right from inside the App builder, clicking the Export button you will see the option to create a binary file for iOS or Android.


Export menu.

Once Binary (.ipa) or Binary (.apk) is selected, the build process starts. The build process usually takes one minute. When the build is completed, the file is downloaded to your computer. From there you can publish the app to an app store, using the standard publishing process for each store.

Learn more about how to use Apache Cordova in to build hybrid apps and use native APIs.

Happy coding.

4-Ways to Send a Push Notification on Platform

Posted: November 3rd, 2016Author:

Being able to send Push Notifications to users is one of the fundamental capability in an enterprise mobile app. platform comes with Push Notifications component out-of-the-box and allows you quickly to send targeted messages to iOS and Android devices. In this blog post we will show the four ways to send a Push Notification message to a user:

  1. Push Notifications Console.
  2. Server Code Push Notifications API (server-side).
  3. Push Notification REST API.
  4. Customer Console.

Push Notifications Console

This first option is probably the simplest way to send a Push Notifications once you have installed an app on a device. Select device types, enter the message and send. The Push Notification message should arrive on the registered device instantly.


Sending a Push Notification from the console.

Read the rest of this entry »

Learn How to Build an Ionic App to Save Form Data Into a Database

Posted: October 24th, 2016Author:

Saving app data is one of the most basic functionality in any business or enterprise mobile app. A user is presented with a custom form (page). A user enters information and the information is saved into a cloud data storage. We created this video to show you how to do exactly that.

In this video tutorial, you will learn how to build an Ionic app that saves form (page) data into a database. The video tutorial shows:

  1. Creating a database.
  2. Creating server-side logic to save data into the database.
  3. Building an Ionic app. The app uses the server-side script to save data into the database.
  4. Testing the app.

Watch the video now:

Looking for more videos on how to build mobile apps? Check out our YouTube channel.

How to Perform Basic Database Operations: Create, Read, Update and Delete

Posted: October 13th, 2016Author:

The Backend Services consists of the following components:

  • Database – for storing any app data.
  • Server Code – for writing server-side app logic using JavaScript.
  • API Express – integrating with external systems and APIs.
  • Push Notifications – sending push messages to devices.
  • Web Hosting – publishing and hosting mobile web apps.

In this post, we will show you how a Server Code script integrates with the Database.

One of the most common questions we get is how to work with the database, how to create, edit and delete data. This makes sense as virtually any mobile app needs to store data in a database and perform these basic operations. To access the database, we are going to use Server Code script. Server Code allows writing app logic using JavaScript which will be executed on the server. For example, a script can access the database, send a Push Notification message, sort data and invoke an external REST API. We will start with the most basic operation: how to read data from the database.

The database collection used in this post looks like this:

Database collection.

Database collection.

This can be data collected from a form inside an app – a form that collects information about the user.

Reading Data

Server Code script has out-of-the-box API to access the database to perform all the basic operations. The following script reads all objects from the above collection.

One line 2, the script retrieves all the data.

One line 3, the script response is set. A Server Code script is invoked as a REST API. The code on this line defines the API response.

A script can be quickly tested from the Run tab where you can see the JSON data:

Testing the script.

Testing the script.

Reading data from a database collection is fast and simple. Next, we are going to save data into the database.

Read the rest of this entry »

How to Build and Test an Ionic SMS App with Nexmo API

Posted: October 7th, 2016Author:

This video shows how to build and test an Ionic SMS app using Nexmo API. The video tutorial first shows how to create a backend to invoke Nexmo API. Then the Ionic app is created which uses the backend. The app is then tested in the browser and on the device using the Tester app. The video also shows how to build a binary file for Android and iOS.

Also, check out how to create an app backend with API Express and Nexmo SMS API.