Header Image - Back4App Blog

Category Archives

86 Articles

An Instagram clone using SwiftUI and GraphQL – Login

An Instagram clone using SwiftUI and GraphQL – Login

In our previous post about how to create an Instagram clone app, you learned how to configure everything to have SwiftUI up and running in XCode 11, and created a fully working Sing Up view with GraphQL.

Today we will learn how to create a login view and have the user log out.

We will be needing the project from the previous post, so if you didn’t follow that one, I strongly suggest that you do.

Buckle your seat belts and let’s go!

 


GraphQL Hosting

GraphQL Hosting

It’s no mystery that every developer wants to make high-quality applications, and if you’re one of them, we are here to assist you in finding a straightforward way to implement and host a GraphQL database. In the past, I’ve been an assiduous REST user, but my concerns about its complexity, over fetching requests and data transfer costs have led me to explore other alternatives.

In addition to some first-tier GraphQL hosting providers such as Back4App, there’s a frequently expanding list of cloud service providers that allow affordable GraphQL hosting.

In this tutorial, I’ll also describe some of the best cloud options to host GraphQL APIs; some providers that are less established but still useful to developers. The tutorial will cover the following hosting options:

  • Parse
  • Back4App
  • Graphcool
  • AWS App Sync
  • Hasura


GraphQL BaaS – Backend as a Service

GraphQL BaaS – Backend as a Service
graphql-baas

Creating the next big mobile app is an expensive and time-consuming process. Taking your idea to life demands time and energy, and, financial resources. I will explore how new technologies like GraphQL will reduce your time to market and speed up your app development process.

This article will explain the benefits of using GraphQL together with Backend as a Service platform, and here is a summary of what you will learn:

  • GraphQL overview
  • What is GraphQL?
  • GraphQL Schema
  • GraphQL versus REST
  • Why use GraphQL?
  • Benefits/Downsides of GrapQL
  • When using GraphQL?
  • BaaS and GraphQL working together
  • GraphQL BaaS providers


An Instagram clone using SwiftUI and GraphQL

An Instagram clone using SwiftUI and GraphQL

Today we are starting a series of blog posts that will teach you how to use a lot of cool tools to build your own Social Network: an application that resembles Instagram.

We won’t save up on tech and will be using the latest and greatest: Parse, GraphQL, some NodeJS and especially the (yet to be released) latest Apple’s framework SwiftUI. 😍

This will take a few posts in order to be fully functional, but when we get there, you will realize how simple it can be to get your ideas up and running with very little effort here at Back4app.

So, it seems it is time for…


GraphQL iOS: Using Cloud Functions in a Swift App

GraphQL iOS: Using Cloud Functions in a Swift App

On this article, I showed you how to use GraphQL with NodeJS Cloud Code in Back4app.

And on this guide, I showed you how to use Apollo GraphQL iOS Client with Swift.

Now let’s bring it all together and make lots of complicated operations by producing really easy code. And let’s also have XCode to automatically generate any API code for us even when we change Classes.

Sounds good? So get some coffee and get along!


Parse Self Hosted vs Back4App

Parse Self Hosted vs Back4App

Parse versus Back4App

Did you know that Parse and Back4app are two very different platforms? Often beginners confuse the two, which leads them to choose the wrong platform. We’re frequently asked by our users, what are the differences between Parse vs. Back4App. To help answer that, we have created the most comprehensive comparison of Back4App vs. Parse (self-hosted version).


Firebase Open Source Alternatives

Firebase Open Source Alternatives

Firebase Open Source Alternatives

This blog will provide a list of Open Source alternatives to Firebase and the benefits of using open source technologies for backend development. This article will explore the advantages of using Parse, Back4App, AWS Amplify, Kuzzle and Hoodie as open-source options to Firebase.

Even though Firebase is a feature-rich platform and great product, a proprietary framework has the following disadvantages over open-source platforms:

  • Vendor lock-in
  • Firebase owns the intellectual property over its framework
  • Lack of customization and flexibility to adapt the code
  • Dedicated hosting and private clouds are not an option at Firebase
  • Firebase base does not offer Enterprise contracts

Here is why you should use an open-source framework:


GraphQL and NodeJS integrations using Cloud Code Functions

GraphQL and NodeJS integrations using Cloud Code Functions

GraphQL brings sugar, spice, and everything nice to API developers, but it is basically a query language so you can specify what you are looking for.

What if you need more business intelligence than that in your application?

What if you need some logic along with it?

What if you want that neat NPM Module module along with it?

Well, fasten your seat belts because today I’ll show you something very powerful. And with great powers, comes great… well… great time savings, great possibilities, great lots of good stuff…

 


What is GraphQL

What is GraphQL

GraphQL is a query language for APIs developed by Facebook in 2012. In simple words, it’s used to load data from a server to a client (i.e. from an API to your application) much more efficiently than traditional services.

It’s fair to say that GraphQL is unlike anything you might have used before which is precisely why a large number of organizations have switched over to it for building APIs.

In this article, I’ll take a closer look at some of the major problems behind current REST APIs and how GraphQL solves them while improving productivity. I’ll also explain some of the key benefits developers can experience by using GraphQL and whether you should make the switch from REST to GraphQL.

Let’s get started.