Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

What is Appery.io API Express?

DZone's Guide to

What is Appery.io API Express?

Looking for a way to add RESTful APIs to external data sources? API Express just might fit the bill.

· Integration Zone
Free Resource

Learn how API management supports better integration in Achieving Enterprise Agility with Microservices and API Management, brought to you in partnership with 3scale

API Express is one of the core components in Appery.io platform. API Express allows you to integrate with external enterprise data sources and expose them via REST APIs. API Express also allows to compose advanced services using a visual editor. The REST APIs are then used in a mobile app.

API Express supports connecting and exposing the following data sources via REST APIs:

  • Relational database – connect and expose any relational database via REST APIs (automatic CRUD generation)
    • SQL query – expose any custom SQL query via a REST API.
    • Stored Procedure – expose any store procedure via a REST API.
  • REST API – connect to any external REST API.
  • SOAP service – connect and expose any SOAP service via REST API.
  • Server Code script – invoke any existing Server Code script.

In addition to these services, the visual editor also supports the following components:

  • Fork – execute two more more services (from above) at the same time.
  • Condition – add if-then like function to the service flow.
  • Mapping – map data from one component to another component.
  • Script – write and execute short service logic using JavaScript.

The API Express visual service editor allows to create very advance service flow and logic. Here is one example:

  1. Start – entry into the service.
  2. Invoke the SOAP component.
  3. In parallel (Fork), invoke the REST API component and the SQL component.
  4. Take the result and process it with the Script component.
  5. End – set the service response

In the above flow, steps 1-4 are exposed via an API Express REST API. To the client (the mobile app), it is just a simple API. As you can see, the actual service logic can be very advanced.

A REST API can be quickly tested right in the developer console.

A REST API created can also be secured. A user has to login before invoking the service. For authentication, API Express supports LDAP and Appery.io Database.

Another big benefit that API Express provides is a special client SDK that allows to build offline apps. If the app you built with API Express APIs goes offline, you can use the app the same way. When the app (or device) goes back online, any changes will be automatically synced.

We have a number of short videos on using API Express on our YouTube channel here and here.

Unleash the power of your APIs with future-proof API management - Create your account and start your free trial today, brought to you in partnership with 3scale.

Topics:
big data ,api ,appery.io ,integration

Published at DZone with permission of Max Katz, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}