Video description
GraphQL is the new way of building scalable and reliable APIs that any client can consume. This course will get you up and running with GraphQL quickly, providing you the core knowledge you need to build GraphQL APIs and deploy them remotely. You will also be able to incorporate Apollo middleware so you can consume the data in Android applications quickly.
The course begins by helping you understand why GraphQL is the ideal way to build robust APIs. You will explore the fundamentals and basics of GraphQL - scalable types and schemas. In addition to this, you will gain a deep understanding of what Graph in GraphQL means. As you progress, you will learn how to set up the server-side code with Node and Express, and JavaScript, along with MongoDB Collections. The course will also focus on GraphQL queries and mutations, along with creating relationships between your data objects.
By the end of this course, you will have the skills you need to create GraphQL APIs confidently and tie them up with a web or Android client.
What You Will Learn
- Understand how to use tools to build and consume robust APIs with GraphQL
- Use Node.js and GraphQL to create a back-end server for your Android apps
- Develop a strong understanding of the GraphQL syntax, types, and data object relationships
- Explore the concepts of MongoDB and Mongoose data collections
- Deploy a GraphQL project to Heroku
Audience
This course is for advanced developers and developers who are just getting started and looking to learn GraphQL. Android developers who want to build back-end APIs with GraphQL will also find this course useful.
About The Author
Paulo Dichone: Paulo Dichone is a highly skilled developer and teacher with a strong background in Computer Science. With his expertise in Android App Development for mobile and web platforms, Paulo founded Magadistudio, a successful mobile app development company.
Passionate about teaching, Paulo is dedicated to helping learners master Android app development. His goal is to empower students with the knowledge and skills needed to create impressive Android applications and experience the freedom of being an Android developer.
With his deep understanding of the subject matter and a commitment to student success, Paulo Dichone is a trusted instructor who can guide learners on their journey to becoming proficient Android developers.
Table of contents
- Chapter 1 : Introduction
- Chapter 2 : Why GraphQL – GraphQL vs REST
-
Chapter 3 : Getting Started with GraphQL, Server Side and Development Environment Setup
- Section Introduction
- Development Tools to Install - Cmdr, VSCode and Nodejs
- Understanding the basics of the IDE - Extensions, Keyboard Shortcuts
- Setting up Our First Project
- Install NodeJS and Express
- Installing GraphQL and Express
- Creating and Understanding Schemas
- Creating Our Very First GraphQL Query and RootQueries
- The Resolve Method - Returning Data back
- Adding a Hobby Type and RootQuery
- Adding the Post Type
- Adding Relationship between Types
- Showing Users Relationship
- User Type Relationship to Hobby
- Posts Query
- Hobbies Query - Adding Fields
- Chapter 4 : GraphQL – Core Concepts - Mutations
- Chapter 5 : GraphQL - Types
- Chapter 6 : Connecting to an External Database - MongoDB
- Chapter 7 : GraphQL – Intermediate Concepts - Mutations
- Chapter 8 : Deploying Our Project to Heroku
-
Chapter 9 : Building the Android GraphQL Client App
- Learning Path
- About Apollo and the Documentation
- Adding Apollo Dependencies to Android Studio
- Generating the JSON Schema File
- Android Apollo Project File Structure
- Setting up Apollo Project and Getting GraphQL Data
- Fetching More Data and Showing on the Screen
- Setting up Android Client's App User Interface - Row Cell
- RecyclerView Adapter
- Finalizing Our Recyclerview Adapter
- RecyclerView Adapter - Final
- Showing List of Users on Screen
- Creating UI for Details Screen
- Passing Data to Details Activity
- Restructuring Details View
- Apollo and Gradle Gotchas and FIXES!
- Showing Users Hobbies and Posts
- Creating Details RecyclerView - Part 1
- Setting up Details Activity Adapter
- Finalizing Details Screen (Activity)
- Chapter 10 : Building the Android GraphQL Client App - Continuation
- Chapter 11 : Update and Delete – Android Apollo Client App
- Chapter 12 : Wrap-up
Product information
- Title: GraphQL and Apollo with Android: From Novice to Expert
- Author(s):
- Release date: May 2020
- Publisher(s): Packt Publishing
- ISBN: 9781800564626
You might also like
video
Learning Clientside GraphQL with Apollo
With GraphQL and Apollo, data flow in APIs is clean, lean, and simple to master. Brought …
video
Build Performant GraphQL Backends in Days Using Hasura
If you’re a developer struggling with GraphQL because of its complexity or simply because it takes …
book
Building Vue.js Applications with GraphQL
Take your Vue.js knowledge to the next level by understanding full-stack development concepts and exploring modern …
book
Patterns for Fault Tolerant Software
Software patterns have revolutionized the way developer's and architects think about how software is designed, built …