Developers

SDKs, APIs and starter kits

Developers

Familiar tools,
no infrastructure

Use the language your app is already written in. Back4app ships native SDKs for JavaScript, iOS, Android, Flutter and .NET, and exposes every class, function and job over GraphQL and REST.

The platform is built on an open-source foundation and designed for a low learning curve. Most developers are reading and writing real data within their first session.

Client libraries

Seven ways in, one backend

Every option reads and writes the same data and respects the same permissions. Mix them freely: a Flutter app, a web dashboard and a .NET service can all share one backend.

  • 01JavaScriptFor web apps in the browser and for JavaScript on the server. Queries, sessions, files and live query subscriptions.
  • 02iOSFor iPhone and iPad apps in Swift or Objective-C, covering sign-in, queries, files and push notifications.
  • 03AndroidFor Android apps in Kotlin or Java, covering sign-in, queries, files and push notifications.
  • 04FlutterOne Dart codebase for iOS and Android, talking to the same classes and permissions as your native clients.
  • 05.NETFor C# applications and services that need to read and write app data alongside your other clients.
  • 06GraphQLA typed API generated from your schema. Request exactly the fields you need and follow relations in one call.
  • 07RESTPlain HTTP endpoints for every class, cloud function and scheduled job. Works from any language or tool.

In practice

The same query in every client

Find venues with room for more than fifty guests. Here is that request in each native SDK.

const query = new Parse.Query("Venue");
query.greaterThan("capacity", 50);

const venues = await query.find();
venues.forEach((venue) => console.log(venue.get("name")));

Every example runs against the same Venue class, with the same permissions.

Common tasks

Three things you will do on day one

Save an object

Write data

Create a class just by saving to it. New fields are added to the schema as they appear.

const review = new Parse.Object("Review");
review.set("stars", 5);
review.set("venue", venue);
await review.save();
Call a function

Run server logic

Call a deployed cloud function by name. Parameters go in, the function's return value comes back.

const booking = await Parse.Cloud.run(
  "confirmBooking",
  { venueId, guests: 24, date }
);
Subscribe

Listen for changes

Turn any query into a live subscription and react to new and updated objects as they happen.

const sub = await query.subscribe();
sub.on("create", (obj) => {
  addToList(obj);
});

Learning curve

Easy to start, nothing to unlearn

Ease of use is a design goal, not a side effect. The data browser looks like a spreadsheet, the APIs exist before you ask for them, and the schema adapts as you go, so you can explore without fear of breaking something.

Because the platform is built on an open-source foundation, the concepts are documented in the open and shared by a wide community of developers. What you learn here is portable knowledge, not a proprietary dialect.

Why it is quick to learn
Data browserSpreadsheet-like modeling of classes, rows and columns
APIsGenerated for you, so there is no routing to learn
SchemaFlexible, with no migrations to write
Server codePlain JavaScript in cloud functions
FoundationOpen source, documented in the open
DeploymentPush to Git and the rest is automatic

Starter kits

Begin from something that already works

Starter kits and example projects show complete patterns running on the platform, so you can read real code before writing your own.

Real time

Team chat application clone

A working chat app that demonstrates live queries, presence tracking, authentication and per-room permissions together.

Authentication

Login templates for mobile frameworks

Sign-up, sign-in and session handling for popular mobile frameworks, ready to drop into a new app.

Reference

Example projects

Working examples of the platform's capabilities, from data modeling and queries to cloud functions and deployment.

Community

You will not be building alone

Chat workspace

Ask and answer

A community chat workspace where developers building on Back4app compare notes, ask questions and share what they have shipped.

Video channel

Watch it done

Walkthroughs and tutorials on a video channel, for people who would rather see a feature built than read about it.

Questions about your stack?

Tell us which clients you are building and what the backend needs to do. We will point you to the right SDK, starter kit and setup.