Category Archives

10 Articles

Instagram Clone App using SwiftUI and GraphQL – HomeView

Instagram Clone App using SwiftUI and GraphQL – HomeView

Today in part 4 of our Instagram clone App with GraphQL we will continue learning some SwiftUI, building our Home view.

In our previous articles, we learned how to sign up a user and how to log in a user and created the Profile view with the respective UIs in our Instagram clone App. Today we will reuse some of that code and create something similar to a UIScrollView with lots of content.

Fast your seat belts and let’s get it going!


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 GraphQL
  • 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!


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.


Hasura Alternatives – Top Competitors

Hasura Alternatives – Top Competitors
hasura-alternatives

Hasura proceeds to innovate and dominate the real-time GraphQL market. While it extends a frequently refined collection of products for many varieties of development requirements, it may be not always the easiest, most agile, or cheapest option. There’s a frequently increasing inventory of cloud companies that extend products and services in ways that can avail developers with easiness and affordability.

In this blog post, I’ll show some of the alternatives to Hasura; some companies that are still young but still useful to developers.  Others are more stable businesses and running for a while.  The tutorial will include subsequent competitors:

  • Back4App – GraphQL database hosting platform
  • Parse – Open-Source GraphQL framework
  • GraphCool – Open-Source framework to deploy serverless GraphQL backends
  • AWS App Sync – Service to run GraphQL in the cloud
  • Postgraphile – GraphQL APIs from a Postgres schema
  • Subzero – GraphQL & REST APIs for databases


Mastering Web API authentication with Parse – Javascript SDK and GraphQL flavours

Mastering Web API authentication with Parse – Javascript SDK and GraphQL flavours

Many applications, especially websites, need to restrict access to their content, and having user accounts that show only information relevant to that user in a secure way is the most popular way to accomplish that.

Today we will learn how to implement the Login functionality to an already existing HTML page, writing very little code and having Parse doing all the heavy lifting for you, and in order to do that, I chose this template which you can download for free.

We will be using two distinct technologies that you can choose from: the Javascript SDK and GraphQL through Javascript.

GraphQL is our brand new shiny technology that was just released and my goal is to compare both ways to do the same thing, so you can pick the one you like best.
SPOILER ALERT!! I am sure you will like GraphQL better…

That already has all the necessary files for visually display the file but lacks functionality, which we will be adding.