Learn How to Send a Push Notification from Server Code Script in One Line of Code

Posted: November 12th, 2015Author:

Learn How to Schedule a Server Code Script to Run Periodically to Send a Push Notification

Posted: November 3rd, 2015Author:

Appery.io Server Code enables mobile developers to write any custom app logic that is automatically exposed via a REST API. You develop the script using JavaScript (which is nice, since you don’t have to learn a new language). Server Code provides built-in APIs to make it easy to integrate with other Appery.io services. For example, you can query the Appery.io Database, send a push notification, and invoke any 3rd-party REST API service.

For example, let’s say you want to develop a script that will query a products database. If an inventory for a particular product falls below a set number, you want to send a push message to a manager notifying him or her that inventory is low.

Read the rest of this entry »

Understanding AngularJS Dependency Injection in Appery.io Apps

Posted: October 30th, 2015Author:

Dependency Injection (DI) in AngularJS is one of the core capabilities of the framework. You simply specify on which objects a particular controller depends, and AngularJS will automatically (and somewhat magically) inject those objects into your controller without you needing to do anything. In other words, you are going to get a reference to the objects that you need without doing any work.

Read the rest of this entry »

Video Tutorial: Learn How to Build an App with a Barcode Scanner and SQL Database

Posted: October 27th, 2015Author:

In this video tutorial you will learn how to build a mobile app that allows you to scan a product barcode and save it into a relational database. The tutorial covers:

  • Connecting to a relational database
  • Exposing the database via REST APis using Appery.io API Express
  • Designing the app UI with the Appery.io visual App Builder
  • Generating REST API services
  • Using and binding API services in the app
  • Testing the app on device using the Appery.io Tester app

Learn from other videos on our YouTube channel.

Learn How the App Builder Simplifies Creating and Working with AngularJS Controllers

Posted: October 23rd, 2015Author:

We created the Appery.io platform to make mobile app development simpler and faster. At the beginning of this year we added support for Ionic and AngularJS. Both frameworks enable users to build native-like apps with HTML, JavaScript, and CSS. If you’ve built with AngularJS before, you know that the AngularJS controller is one of the key components in the framework. There is usually one controller behind each page. The controller provides the logic for the page and connects the view (page) with the model.

If you were coding by hand, here is how a very simple controller might look:

When you are building your app in Appery.io, the App Builder will automatically create a controller for every page. This way you don’t have to worry about the “plumbing” of the app and can concentrate on the app logic. Plus, it saves time (developers love to save time). Let me show you how this works.

Read the rest of this entry »

Here is the Fastest Way to Invoke a REST API From the Server Using JavaScript

Posted: October 20th, 2015Author:

Appery.io’s Server Code feature makes it super easy to create a custom API on the server. With Server Code you can add any app logic using JavaScript including invoking another API. This literally takes a few minutes. Let me show you how do to it using the Uber API.

Screen Shot 2015-10-14 at 2.50.55 PM

Invoking the Uber API

When working with the Uber API, one of the first goals will usually be to find out what products are available in your area using latitude/longitude information.

Read the rest of this entry »

How to Create and Test a REST API in an Ionic/AngularJS Mobile App in 3 Minutes

Posted: October 19th, 2015Author:

This 3-minute video shows how to create and test a REST API. The Uber API is used in the example. The video covers

  • Setting up the Uber REST API. The API displays available Uber products based on location (latitude/longitude)
  • Setting up request parameters
  • Testing the service
  • Generating the service response

Quickly learn from our videos on the Appery.io YoutTube channel.

Easily Send E-mail from Your Mobile App with the Mailgun API Plug-in

Posted: October 12th, 2015Author:

Mailgun is e-mail for developers. Mailgun has an elegant REST API to send and receive e-mails from your mobile app. I know that many Appery.io developers send e-mails from their apps for registration, confirmation, and everything else. To make it simple to use the Mailgun API in an Appery.io, we have introduced a Mailgun plug-in in Appery.io.

Mailgun plugin (Ionic)

Mailgun plugin (Ionic)

The plug-in has a sample app with one page that shows how to send an email using the API. You can use the sample app as a starting point or add the plug-in to any existing app.  Let me show you how to configure and use the plug-in.

Read the rest of this entry »

Video: Everything You Need to Know to Run and Test Your Hybrid App Fast

Posted: September 29th, 2015Author:

This short video shows how to run and test your hybrid app without going through the app store.

In this video you will learn:

  • How to extend your app with plugins
  • How to add a plugin that uploads a photo to a database
  • How to run and test the app using the Appery.io Tester app for iOS or Android
  • How to do remote debugging with Weinre
  • How to share your app with anyone without the app store — even if they don’t have an Appery.io account

If you like this, start building apps fast with Appery.io, it’s free.

Upcoming Changes to the Old App Builder Only

Posted: September 25th, 2015Author:

If you signed up for Appery.io before September 2014, you might have used our old App Builder. If your app uses the old App Builder, then you will see a message like this:

Screen Shot 2015-09-25 at 10.49.31 AM

Upgrade message if your app uses the old App Builder

Read the rest of this entry »