Platform

Eight services, one backend

Platform

Everything that runs
behind the screen

A database, an API for every piece of it, accounts and permissions, server-side code, deployment, real-time sync, file delivery and messaging. Each service is managed for you, and all of them share one data model and one set of rules.

Use one service or all eight. They are designed to be adopted gradually, so a project can start with a database and an SDK and grow into the rest as the product needs it.

Database

A managed database, ready in seconds

Every Back4app app starts with a production-ready NoSQL document database. It is provisioned in seconds, hosted on third-party managed database services and operated for you. There are no clusters to size, no disks to watch and no maintenance windows to plan around.

Documents are grouped into classes, and each document carries the fields it needs. When the shape of your data changes, the schema changes with it. Add a column in the browser, or simply start writing a new field from your app. Nothing needs migrating.

Document storage does not mean giving up structure. Pointers and relations connect classes, so a booking knows its venue and a venue knows its owner. Indexes keep queries quick as collections grow, aggregate functions summarize data where it lives, and geo-queries answer the question every location-aware app eventually asks: what is near here?

  • Managed, production-ready NoSQL document databases
  • Relational data models through pointers and relations
  • Indexing for fast queries as data grows
  • Aggregate functions for grouping, counting and summing
  • Geo-queries for location-aware features
  • Real-time synchronization to connected clients
  • A spreadsheet-like interface for data modeling
  • A flexible schema that evolves without migrations
  • Access through GraphQL, REST and native SDKs

Generated APIs

APIs that write themselves

Most backend work is plumbing: a route for every resource, a handler for every verb, documentation that drifts out of date. Back4app removes that layer.

Create a database class and the endpoints to create, read, update, delete and query it exist immediately. Deploy a cloud function and it gets an endpoint of its own. Schedule a job and it can be triggered the same way.

The same data is available over REST and GraphQL, and every SDK talks to the same API. Permissions are enforced on every request, so the rules you set on a class or an object apply whichever client makes the call.

ClassesCreate, read, update, delete and query endpoints for every class
Cloud functionsOne endpoint per deployed function
Scheduled jobsOne endpoint per job
ProtocolsREST and GraphQL over the same data
SecurityClass and object permissions enforced on every request

Authentication

Accounts and permissions, already solved

Sign-up, sign-in and sessions are part of the platform. Offer several login methods and keep a single user model behind them, so a person is the same user whichever way they arrive.

Access control works in layers. Class-level permissions decide what each role can do with a type of data. Access control lists go further and attach read and write rights to an individual object, so a private message is readable only by the people in the conversation.

Role-based access control lets you grant permissions to a role such as Admin, Editor or Member and then manage who belongs to it, rather than editing rules person by person. Built-in messaging completes the picture.

  • Multiple login methods with one user model
  • Access control lists on individual objects
  • Role-based access control for teams and tiers
  • Sessions managed by the SDKs
  • Built-in messaging

Cloud Code

Your logic, on the server

Some logic should never run in a client. Checking a booking against a venue's capacity, awarding points, sending a notification when something changes: these belong on the server, where users cannot alter them.

Cloud functions let you write that logic in JavaScript and run it on Back4app, next to your data. They are integrated with the database and the authentication system, so a function knows who is calling, can read and write any class, and can set permissions on the objects it creates.

Every deployed function gets its own API endpoint and can be called from any SDK. Scheduled jobs use the same model for recurring work such as nightly summaries or periodic cleanup.

  • Server-side JavaScript deployed to the platform
  • Direct access to the database and the calling user
  • An automatic endpoint for every function
  • Scheduled jobs for recurring work

Web Deployment

From a Git repository to a production URL

Connect a repository and Back4app deploys your full-stack web application to a production URL. Every push runs the pipeline again: the app is built, packaged and rolled out automatically, with continuous integration and delivery taking care of the routine.

The infrastructure underneath scales, so the deployment that serves your first users is the same one that serves your busiest day. Frontend and backend run on the same platform, beside the database and functions they depend on.

  • Deploy directly from a connected Git repository
  • A production URL for every app
  • Automatic CI/CD on every push
  • Scalable infrastructure underneath

Real time

Screens that stay current on their own

Live queries turn a query into a subscription. When a matching object is created, updated or deleted, or when it enters or leaves the result set, connected clients hear about it straight away. There is no polling loop to write and no refresh button to press.

Presence tracking adds the human layer: who is online, who joined a room, who just left. Together they cover chat, collaborative tools, live dashboards and anything else that should feel alive. A team chat application clone is included among the starter kits to show the pattern from end to end.

File storage

Files, delivered from close by

Profile photos, documents, recordings and anything else your users upload go into file storage, attached to the objects that reference them.

Delivery runs through an integrated global CDN, so files are served from near the people requesting them. There is no separate bucket to create and no delivery network to wire in.

At a glance
UploadThrough any SDK or the REST API
ReferenceStore a file in a field on any object
DeliveryAn integrated global CDN
SetupNone. Storage is part of every app
Typical usesAvatars, attachments, product images, documents, media

Push and email

Messages that have to arrive

Push notifications reach users on iOS and Android when something changes while the app is closed: a new booking, a reply, a status update. Send them from cloud functions so they follow real events in your data.

Transactional emails handle the account mail every product needs. Verification emails confirm that an address belongs to the person who signed up, and password reset emails get people back in when they forget. Both are part of the platform rather than another provider to integrate.

At a glance
Push notificationsiOS and Android
TriggersFrom cloud functions, in response to data changes
Verification emailConfirms new addresses at sign-up
Password resetSelf-service recovery for every user
SetupBuilt in, alongside authentication

How the pieces fit

One model, shared by every service

The services are not bolted together. They read the same classes, follow the same permissions and answer to the same user.

Data

One source of truth

APIs, cloud functions, live queries and the data browser all work on the same classes. A change made in one place is visible everywhere else.

Security

One set of rules

Class permissions, access control lists and roles apply to every request, from every SDK, over every protocol, including calls made inside your own functions.

Identity

One user

The person who signs in on the web is the same user on their phone, in a live query and inside a cloud function. Sessions follow them across clients.

See it with your own data.

Tell us about the app you are planning or the backend you want to move, and we will show you how it maps onto the platform.