Install Parse Server To Use As Backend For Android Apps

 

1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)
Loading...

 

Tung Dao Xuan, tungdx1210@gmail.com, is the author of this article and he contributes to RobustTechHouse Blog

Introduction

In this blog article I assumed you know what Parse Server is and that you are trying to learn how to install it to use as your backend for your Android mobile application.

The next section, I am going to show you how to install Parse Server in your local machine and write a small TodoList application using Parse SDK Android in just few minutes.

 

Installing Parse Server

Prerequisites

Node 4.3
MongDB version 2.6.X or 3.0.X
Python 2.x (For Windows users, 2.7.1 is the required version)

 

Installation

 

Running Parse Server locally

Step 1: Start MongoDB

Step 2: Start ParseServer with your application info

 

For example as following figure

backend for apps

 

Writing TodoList application

To connect with Parse Server you can use Parse Android SDK, go here https://parse.com/docs/android/guide to learn more.

Step 1:  Add dependencies

 

Step 2: Add permissions in AndroidManifest.xml

 

Step 3: Connect Parse Android SDK with Parse Server

Note:
– Change your_host_ip to your Parse Server ip address
– Specify TodoApp.java class in AndroidManifest.xml

 

Step 4:  Save a Todo

 

Step 5: Get Todo list

 

That’s it. It is pretty simple to use Parse Server as your backend. You do not need know coding for your backend while still having a backend for your mobile application. Isn’t that cool or what!

Source code

https://github.com/tungdx/TodoList

 

Brought to you by the RobustTechHouse team (Singapore based app development company).  If you like our articles, please also check out our Facebook page.

Recommended Posts
Contact Us

We look forward to your messages. Please drop us a note for any enquiries and we'll get back to you, asap.

Not readable? Change text. captcha txt
Top 6 bus apps_CoverBusiness Intelligence for SMEs.