A very simple Rick & Morty app to demo GraphQL + SwiftUI

A very simple Rick & Morty app to demo GraphQL + SwiftUI

Crash reporting UI tests with simple SwiftUI layout and Trace SPM integration. Nothing very exciting on the UI side. The exiting part is that it's actually very little code (just the UI code + some GraphQL queries) to have the app working.

Each views have its own view model which consist of running a simple GraphQL query to fetch the necassary data. Once the data is set in the @Published property of the view model, the data will be displayed in the view. While it's fetching the data, it'll use the powerful SwiftUI .redacted placeholder modifier to display a beautiful loading state.

All the queries are in Queries.graphql. The file API.swift is generated at the build time using the schema.json of the GraphQL API of this awesome Rick & Morty API [website] and the Queries.graphql file using the [Apollo CLI]

For now you can browse characters, episodes and locations (soon). Search is coming soon.

swiftui graphql simple graphql swiftui rickandmortyapi

What is Geek Coin

What is GeekCash, Geek Token

Best Visual Studio Code Themes of 2021

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

GraphQL on SwiftUI: Interfaces, Unions, Fragments

In this story we’ll explore what Interfaces are, how we can implement them and how Unions and Fragments can also help us in working with Interfaces. Learn how to query more sophisticated and complex schema in SwiftUI apps. GraphQL on SwiftUI: Interfaces, Unions, Fragments

How to use GraphQL with Javascript – GraphQL.js tutorial

GraphQL is first and foremost. GraphQL.js is the definitive JavaScript GraphQL implementation, but most of us are using GraphQL to build backend APIs. For that to work, we need to serve GraphQL over HTTP.

How to Build a Simple GraphQL Server

With the zeitgeist of programming ever-changing, it can be difficult to determine what is a fad and what is going to last. One of the tools that has survived is GraphQL, an alternative to the standard RESTful route’s approach for queries and manipulating data. I decided to tackle the fundamentals of the open source project last week and I can see why it is so popular. In this post, you'll see How to Build a Simple GraphQL Server

Simple GraphQL Tutorial In .NET Core Web API To Hit Ground Running

Simple GraphQL Tutorial In .NET Core Web API To Hit Ground Running. In this blog, you will learn how to create GraphQL project from the scratch, For our tutorial we will call it MOTUGraphQL.

SwiftUI Complex UI Tutorials - PlayStation 5 UI Design SwiftUI - SwiftUI Tutorials

In this Video i'm going to show how to create a Stylish Sony PlayStation 5 UI Design Using SwiftUI | SwiftUI Complex UI Tutorials | Advance SwiftUI Tutorials...