Skip to main content

An Open source backend for mobile apps

Project description


Open source backend stack for mobile.


CloudEngine is an open source backend stack for building awesome mobile apps. The aim of the project is to help mobile app developers get their apps off the ground as quickly as possible. For this, CloudEngine needs to provide all the basic services required for building rich mobile apps out-of-the-box. Currently there are bare minimum services included. The aim is also to create fully customizable and extensible framework for building backend mobile services. The core services could be tightly coupled.


CloudEngine runs only on gunicorn server and hence currently runs only on UNIX environments.

  • Python (2.7.5+)
  • Django (1.5.4+)
  • MongoDB (2.4.6+)
  • MySQL (5.5+)

All the python library dependencies are listed in requirements.txt


You can install using pip. On Windows, CloudEngine will be installed without support for gevent-socketio and gunicorn (i.e. you can’t test push notifications and related features).

pip install cloudengine

Configure database and other necessary settings in Create database tables.

python syncdb

Run the gunicorn server with gevent-socketio worker class. Add the project directory to python path

gunicorn -w 1 –pythonpath . –worker-class socketio.sgunicorn.GeventSocketIOWorker cloudengine.wsgi:application

On development environments, you can simply run the django development server

python runserver

Technical Overview

CloudEngine is a pure Python django stack. Each backend service is plugged in as django app. Each service should be independently pluggable and usable except the core services. Currently some of the services are tightly coupled. CloudEngine currently runs on gunicorn server and hence runs only on UNIX environments. CloudEngine uses the excellent [gevent-socketio][gevent-socketio] library for implementing real time communication channels, which are the basis of current push notifications system. gevent-socketio is the python port of the popular [][] library. For storage we use a combination of relational database (MySQL, PostgreSQL) and a NoSQL db (Currently mongodb). Ideally, we’d like to move completely to a NoSQL db. But we want to leverage a lot of django goodies and there is no elegant way to retain that while migrating to NoSQL. CloudEngine uses [django-rest-framework][django-rest] for providing REST interfaces to services.

Client libraries

The aim of the project is also to provide readily available client libraries for as many different platforms as possible to make it easier to consume CloudEngine services on mobile devices. Currently only Android SDK is available at - [][android-sdk] We plan to add SDKs for more platforms

Documentation & Support

Complete documentation is available at - ?

For discussions, questions and support use the [CloudEngine discussion group][group]

or [Github issue tracking][issue-tracker]

You may also want to [follow the authors on twitter] [twitter].

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cloudengine, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size (186.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page