What you'll learn:
- GraphQL structured query language
- Integrating GraphQL in iOS applications using Apollo Framework
- Creating their own custom server, which serves GraphQL queries and mutations
- MVVM Design Pattern in SwiftUI Apps
GraphQL is an open-source data query and manipulation language for APIs, and a runtime for fulfilling queries with existing data. GraphQL is gaining popularity at a very fast pace and more and more companies are exposing their data using GraphQL. Some are even saying that GraphQL is the new REST and in a span of few years, it will become the default way for implementing APIs.
Check out the contents of the course:
Understanding GraphQL
In this section, you will learn the concepts behind GraphQL technology and how it is different from REST. You will learn about queries, mutations, fragments and subscriptions.
Countries App
In this section, you will learn how to consume Countries GraphQL API. You will learn how to integrate the Apollo framework with your iOS application, download schema, generate models and then finally display them in your SwiftUI application.
Understanding MVVM Design Pattern
In this section, you will learn the concepts behind the MVVM Design Pattern. You will learn the purpose of each component and how it fits in with the MVVM pattern.
Countries App - Building Using MVVM Pattern
In this section, you will revisit the Countries App and reimplement it using the principles of MVVM Design Pattern. You will learn how to implement container view models, read only view models in SwiftUI application.
Weather App
In this section, you will learn how to implement a Weather App in SwiftUI using GraphQL weather API. You will also implement the city search capability, which will allow you to search weather for a city by name.
GitHub App
In this section, you will learn how to consume the GitHub GraphQL API. You will start by getting comfortable with the GitHub GraphQL API using their build-in explorer. Next, you will integrate it with your SwiftUI application. You will allow the user to list their ten most recent repositories, as well as top starred repositories. Finally, you will implement the mutation, so users can add new repositories to their GitHub profile from right within the iOS application.
Getting Started with Apollo Server
In this section, you will learn how to implement a custom Apollo Server using NodeJS and JavaScript. You will learn about the GraphQL type system, schemas and how resolvers can be used to resolve the queries.
Movies App
In this section, you are going to implement a complete Movies App. You will learn to construct a custom GraphQL server using the Apollo framework and then you will make the iOS client in SwiftUI framework.
Requirements
1) Knowledge of Swift Language is recommended
2) Knowledge of SwiftUI is recommended
3)Some knowledge of NodeJS and JavaScript is recommended but not required
By the end of this course, you will be comfortable using GraphQL with your iOS applications.
Hope you enjoy the course!