Quickstart
Back4app is a low-code backend platform that simplifies building modern applications. This guide will help you quickly set up Back4app and start saving data.
- Database
- Cloud Code Functions
- APIs (GraphQL and REST)
- File Storage
- Authentication
- Push Notifications
After creating your Back4app account and first app, go to your App Dashboard and get your App Keys under App Settings -> Security & Keys(check the image below). Note that you will always need two keys to connect with Back4app, the Application ID, and another key according to the SDK you will use.
To integrate the Parse SDK, follow these general steps:
Install the Parse SDK:
- JavaScript / Node.js: npm install parse --save
- React Native: npm install parse @react-native-async-storage/async-storage --save, then run cd ios && pod install
- Flutter: Add parse_server_sdk_flutter to pubspec.yaml
- Android (Java): Add your app's build.gradle inside dependencies{}:
- iOS (Swift): Install CocoaPods (sudo gem install cocoapods) and add Parse to your Podfile
Initialize the Parse SDK with your Application ID and the appropriate key:
The example above is for JavaScript/Node.js. Adjust accordingly for your platform.
Create and save a sample object to confirm that the SDK is properly set up. Use the example below and adapt it to your programming language:
After saving, you can verify the data in the App Dashboard on Back4app.
JavaScript - React / Angular
- Install the SDK: npm install parse --save
- Initialize with your App Keys and Back4app server URL.
Flutter
- Add parse_server_sdk_flutter in your pubspec.yaml:
2. Initialize Parse in main.dart:
Android (Kotlin/Java)
- Include the SDK in build.gradle and configure network permissions in AndroidManifest.xml
- Initialize in App.kt:
iOS (Swift)
- Add ParseSwift to your project using CocoaPods.
- Initialize Parse in AppDelegate.swift:
PHP
- Install the SDK with Composer by creating a composer.json with:
Then, run composer.install.
2. Initialize Parse in your PHP script:
3. Save Data in PHP:
.NET (C#)
- Install Parse SDK through NuGet Package Manager in Visual Studio.
- Initialize Parse in your application:
3. Save Data in C#:
REST API
- Save Data via REST by sending a POST request:
There are many example apps and starter projects to get going
- React Native Associations - A template on React Native digging deeper into associations and relational queries using Pointers andRelations.
Find more examples in Back4app Templates.
After completing the quick start, we encourage you to explore Back4app's key features through the guides below. You'll learn how to store and query relational data, implement cloud functions for backend logic, use real-time subscriptions to keep users updated, manage file storage, send push notifications, and set up authentication. Select the technology that best fits your project and enjoy the journey!