Primer: Integrations and REST APIs

This primer is a collection of articles & resources in how to configure and use external data sources with Composer Pro.

Introduction to REST APIs

Composer Pro as a platform enables you to build apps on multiple platforms such as iOS, Android and web browsers. Most apps need some way to store data when the app is not running. The data can be stored on the device itself or in an external backend, accessible over the Internet. A common architecture for internet services is a frontend - backend model, in which an app acts as the frontend handling user interactions, while a backend stores and processes data.

As it is typical that a frontend (or multiple frontends) will use a different technology stack from that of the backend, there needs be an easy standard way to communicate between the two. This communication in today's applications is typically achieved through the use of REST APIs.

The basics of REST API integrations

In more detail, what happens is that an app can make a HTTP request to a remote REST API, which then processes the request and as a response returns data. The Data is typically returned in the JSON format. JSON data looks something like this:

Example of JSON data describing a person

Apps, such as ones you build with Composer Pro, can access this data after fetching it from an API, and they can also send data back to an API. This is the basis for how all integrations with Composer apps work.

Configuring a REST API resource in Composer Pro

In Composer Pro you can easily configure external data resources and APIs to be used with your app, but the Composer platform also includes two internal types of storage as part of the platform. In the video below you can learn how to configure a REST API direction integration in Composer Pro:

How to configure a REST API direct integration

For more information on data resources and REST APIs, check out Core Lesson 3 - Data and Integrations

You can also read more in these articles: Configuring data resources REST API direct integration

REST API tutorials and resources

Below you can find guides and tutorials on integrating AppGyver with a variety of platforms.

These are just some examples of platforms you can integrate with. Any service that has a REST API with JSON support can be used with Composer Pro!

AppGyver Academy Tutorials and Guides Core Lesson 3 - Data and Integrations Basic Airtable integration with Composer Pro Google Firestore integration guide MongoDB Realm integration guide External links AppGyver 3rd-Party Authentication with Bubble by Sean Hoots [text] This guide describes how to do 3rd-party authentication with AppGyver via the Bubble REST API. Becoming a No-coder - AppGyver & Xano by Steve Stava [YouTube] This tutorial series covers step-by-step how to integrate AppGyver with Xano as the backend. AppGyver Absolute Beginner Tutorial - part 5 - What is a REST API? by No Code Hero [YouTube] As part of this extremely beginner-friendly series, No Code Hero shows in practice what REST APIs are and how to do a simple REST integration in AppGyver. Backendless registration/login setup with AppGyver by Symmetric Dynamite

Remember that external APIs can have changes in how they work, so always check out the official API documentation for the API you're working with!