Skip to main content

Get Started

Quick Start

BackSwift is a low-code platform based on the Parse Platform, available as an open-source solution, that facilitates the development of modern applications. On BackSwift, you will find the following features:

  • Data Storage (Relational)
  • Cloud Code Functions
  • APIs (GraphQL and REST)
  • File Storage
  • Authentication
  • Push Notifications

Quick start in just 5 minutes.

Once you have created your BackSwift account and set up your first app, navigate to the App Dashboard. From there, access your App Keys by going to App Settings -> Security & Keys (refer to the image provided). It's important to note that you will always require two keys to connect with BackSwift: the Application ID and another key specific to the SDK you intend to use.

Example banner

The Parse JavaScript SDK is compatible with many platforms and frameworks.

Parse SDK Installation and Initialization Guide

Step 1: Install Parse SDK

To start using the Parse SDK in your React Native project, you'll need to install the required packages. Open your terminal and run the following command:

$ npm install parse @react-native-async-storage/async-storage --save

This command installs the Parse SDK and the Async Storage library, which is used for storing data locally on the device.

Next, you need to add the native RNAsyncStorage to your iOS project using CocoaPods:

$ cd ios
$ pod install

Step 2: Initialize the SDK

To use the Parse SDK in your React Native application, you need to initialize it with your Application ID and JavaScript Key provided by BackSwift. Open your App.js file and add the following code:

// App.js
import AsyncStorage from '@react-native-async-storage/async-storage';
import Parse from 'parse/react-native';

// Before using the SDK...
Parse.setAsyncStorage(AsyncStorage);

// Paste below the BackSwift Application ID AND the JavaScript KEY
Parse.initialize('YOUR_APPLICATION_ID_HERE', 'YOUR_JAVASCRIPT_KEY_HERE');

// Point to BackSwift Parse API address
Parse.serverURL = {ParseServerURL}

Make sure to replace 'YOUR_APPLICATION_ID_HERE' and 'YOUR_JAVASCRIPT_KEY_HERE' with your actual BackSwift Application ID and JavaScript Key.

Step 3: Save your first data on BackSwift

Now that the SDK is initialized, you can save data to your BackSwift database. We'll provide you with a sample function saveNewPlayer() that creates a new object representing a soccer player and saves it to the 'SoccerPlayer' class in BackSwift.

async function saveNewPlayer() {
// Create your Parse Object
const soccerPlayer = new Parse.Object('SoccerPlayer');

// Define its attributes
soccerPlayer.set('playerName', 'B. Das');
soccerPlayer.set('yearOfBirth', 1990);
soccerPlayer.set('emailContact', 'b.das@email.io');
soccerPlayer.set('attributes', ['fast', 'good conditioning']);

try {
// Save the Object
const result = await soccerPlayer.save();
alert('New object created with objectId: ' + result.id);
} catch (error) {
alert('Failed to create new object: ' + error.message);
}
}

To save your first data, simply call the saveNewPlayer() function. After calling this function, you can go to your BackSwift App Dashboard and check the data you've just saved.

And that's it! You have successfully installed, initialized, and used the Parse SDK to save data on BackSwift.

tip

Remember to refer to the official Parse SDK documentation and BackSwift documentation for more advanced usage and features. Happy coding!



BackSwift - What Can You Build?

BackSwift is a powerful backend-as-a-service platform that provides a wide range of features and functionalities to build various types of applications easily and efficiently. Below are some examples of apps and starter projects that you can create using Backswift:

Examples and Starter Projects

ReactJS Slack Clone

A React template that mimics the functionality of the popular chat application "Slack." It utilizes real-time, relational queries, and authentication provided by Backswift. This project allows you to create a real-time chat application with user authentication.

Flutter User Login/SignUp

A Flutter template that provides a user sign-up and login functionality using the Parse.User class. With this template, you can quickly create a user authentication system for your Flutter applications.

React Native Associations

A template for React Native that explores associations and relational queries using Pointers and Relations offered by Backswift. It allows you to work with complex data relationships and retrieve related data efficiently in your React Native app.

Flutter File Storage

This template demonstrates how to save files from a Flutter app to Backswift's storage. It enables you to handle file uploads and downloads easily, making it suitable for building apps that involve media or file sharing.

GeoPointers on Kotlin-Android

This template focuses on GeoPointers in Android, leveraging Backswift's geospatial capabilities. You can build location-based applications and implement features such as tracking, geofencing, and more.

ToDo List Example in Swift - iOS

A ToDo list example implemented in Swift for iOS using Backswift. This template provides a simple yet practical demonstration of creating, updating, and managing tasks in a mobile application.

Getting Started

To get started with Backswift and build your own application, follow these steps:

  1. Sign up for a Backswift account on their website.
  2. Choose the appropriate starter project or example app based on your platform (ReactJS, Flutter, React Native, etc.).
  3. Clone or download the starter project from the Backswift repository.
  4. Configure your project with your Backswift Application ID and JavaScript Key (for JavaScript-based projects) or other necessary keys for different platforms.
  5. Customize the app to meet your specific requirements, such as UI changes, additional features, etc.
  6. Utilize Backswift's APIs and features to implement the desired functionality in your app.

Please refer to Backswift's official documentation and resources for detailed guides and tutorials on how to use their platform effectively. They provide extensive documentation, support, and community forums to help you build powerful and feature-rich applications.

Remember that the possibilities are vast with Backswift, and you can create a wide range of applications, including social networking apps, e-commerce platforms, chat applications, location-based apps, and more.

Happy building! 🚀