Tuesday, November 8, 2016

Creating a Backend for Your iOS App Using Firebase

Firebase is a Backend as a Service platform that can help you quickly develop and deploy your application. It provides a myriad of features including Realtime Database, Authentication (with email and password, Facebook, Twitter, GitHub and Google), Cloud Messaging, Storage, Hosting, Remote Config, Test Lab, Crash Reporting, Notification, App Indexing, Dynamic Links, Invites, AdWords and AdMob.

In this article, we'll create a simple To Do app that will show how to save and retrieve data from Firebase, how to authenticate users, set read/write permissions on the data and validate the data on the server.

To get started, first download the started project that we'll use in the tutorial and then head over to Firebase and create an account if you don't already have one.

The Login view has a Register button that takes you to the Sign Up view when tapped; and on this view, there is a Sign Up form as well as a Login button that takes you back to the Login view.

To add the Firebase libraries to the project, we'll use CocoaPods. First make sure that you have CocoaPods installed on your computer.

Open Terminal and navigate to the root of the downloaded project with cd Path/To/ToDo\ App (the \ escapes the whitespace in the directory name).

Continue reading %Creating a Backend for Your iOS App Using Firebase%


by Joyce Echessa via SitePoint

No comments:

Post a Comment