BaasBox blog

01 Apr 2014
by Cesare

How to upload a file using the BaasBox iOS SDK

sdklogoHere is a quick tutorial on how to upload a file using the BaasBox iOS SDK.


Make sure you have Java installed on your Mac. If you need help installing it read these instructions:


  1. download BaasBox here
  2. unzip it
  3. open the terminal and run “./start”

Now you should have BaasBox running on your machine on port 9000. You can go on by installing and configuring the iOS SDK.

Read more

28 Mar 2014
by Cesare

BaasBox on Cocoapods

Cocoapods is a great dependency manager tool for iOS and Mac OSX. As of version 0.7.4 the BaasBox iOS SDK is now available as a Cocoapod. If you are already using Cocoapods in your project you just have to add the following line to your Podfile

pod 'BaasBoxSDK', '~> 0.7'

and run

pod update.

If you like to get started with Cocoapods you can follow the official guide.

26 Mar 2014
by Claudio

BaasBox 0.7.4 Released

We are proud to announce the new release of the BaasBox Server and its SDKs.

BaasBox Server 0.7.4

In this new release we have upgraded the Play Framework (sorry no 2.2.x yet), fixed some bugs and made little general improvements.

Furthermore, we have improved both the Android and the iOS SDKs.



  • Upgrade to Play Framework 2.1.5
  • Override App settings stored into the embedded DB via parameters on start script
  • New *experimental* feature: root access to perform some sysadmin tasks and to reset the admin password
  • The server now prints the AppCode on startup
  • New API to suspend receiving push notifications for a user

Read more

19 Mar 2014
by Cesare

BaasBox in Amsterdam

Cesare Appsterdam Lunch Time Lecture
photo courtesy of Appsterdam
Last week I was in Amsterdam for mdevcon, really a great event. I presented a workshop on Crash Reporting Systems for iOS and Android.
Before the conference I had the opportunity to visit the awesome guys at Appsterdam to talk about back ends during the lunch time lecture that is usually held every Wednesday (thanks again to Egeniq for covering the extra nights at the hotel!).
During my presentation I talked about the many features to take into account when choosing a back end for an app. I arranged the presentation to analyze different solutions according to five questions: Read more

13 Mar 2014
by Andrea

Android SDK Overview

android_logoWe have recently updated the Android SDK, a lot of features have been added and a lot of what was there before is now deprecated.
In this overview I will try and highlight the major changes in the SDK, following a short tutorial that will lead you to the creation of a small note-taking app for Android, backend by BaasBox.

Dear Diary

The app we are talking about is called Dear Diary. It lets you add and read simple notes on your Android device. The notes are stored in a collection on the BaasBox backend.

It’s composed by four simple activities. After the user has logged in with the backend, they are presented with their list of notes. You can add new notes navigating to another activity, and see the note details when you select one of them.

Thus the app is quite simple, but let’s explore the main features of the android SDK.

Read more

21 Feb 2014
by Claudio

From StackMob to BaasBox – data

In the previous post ( you learned how to import app users from Stackmob to BaasBox.

In this post you will learn how you can similarly import data.

As in the previous post, the first thing to do is export data from Stackmob.

Export data from Stackmob

In order to access such feature you need to

  1. enter the dashboard of your Stackmob account
  2. click on Export Data
  3. choose a format (in this case you want to choose JSON because it will be easier to handle the data in the following import phase)
  4. specify an email address
  5. click on the Export Data

Read more

18 Feb 2014
by Claudio

From StackMob to BaasBox – users

In the last few days we were asked a lot of questions about if and how it is possible to transfer data to BaasBox from StackMob, who announced they were going to suspend their service from May 11th, 2014.

The first thing to do is trying to pinpoint the functional and architectural differences between the systems, in order to make the following explanations easier to understand.

Read more

17 Feb 2014
by Claudio

BaasBox on Amazon EC2

This is a short tutorial to install the BaasBox server on an Amazon EC2 instance.

We suppose to use a Mac (or a Linux) machine to launch local commands and to interact with the Amazon Web Service infrastructure.

The only prerequisite is that you have an Amazon Web Service account.

What are “Amazon Web Services”, also known as AWS are?

In short, they are a complete set of services that can be used to build and run your own IT infrastructure, from websites to data management to storage, and more.

In this tutorial we focus on one of such services: Elastic Computed Cloud or EC2.

Through this particular service provided by Amazon, we are able to create a new virtual machine on the Amazon infrastructure and to install and run BaasBox on it.

You can find more information on Amazon EC2 at

Read more

14 Feb 2014
by Cesare

Installing BaasBox on Linux

In this tutorial you are going to learn how to install BaasBox on Linux. You will see, it’s a breeze.
We are going to describe how to do that on two of the major distributions: CentOS and Ubuntu. They use two very different package managers (yum and apt, respectively) which are adopted by many other
distributions. The script is the following:

  1. install Java
  2. download BaasBox
  3. unzip it
  4. start BaasBox

That’s all! Steps 2, 3 and 4 are common on all platforms. Step 1 varies according to the distribution, but this tutorial is gonna teach you how to do it.

Read more

Follow us on: