Build Performant GraphQL Backends in Days Using Hasura [Video]
- FREE Subscription Read for free
- $17.99 Video Buy
- $12.99 Video + Subscription Buy
-
What do you get with a Packt Subscription?
- Instant access to this title and 7,500+ eBooks & Videos
- Constantly updated with 100+ new titles each month
- Breadth and depth in over 1,000+ technologies
-
Free ChapterIntroduction
-
Basics – Queries / Mutations / Real-Time Subscriptions
- Start with Hasura in Hasura Cloud
- Run Hasura as a Docker Container
- Hasura Console Overview
- Creating Tables in Hasura Database Manager
- Let's Build the First GraphQL Query to the Database
- Query - Data Sorting
- Query - Data Filtering
- Query - Full-Text Searching
- Query - Combine Multiple Filters
- Query - How to Do Pagination
- Query - How to Work with Relations Between Database Tables
- Mutations - Create an Item
- Mutations - Update an Item
- Mutations - Delete an Item
- Mutations - Mutate Items with Relations
- How to Use Variables in GraphQL Queries, Mutations, and Subscriptions
- Subscriptions – Real-Time Queries
-
Delegation of Custom Logic to Third-Party Microservices
- How to Extend the Business Logic
- Set Up Firebase Cloud Functions
- Event triggers - Create an Event Trigger
- Event triggers - Implement Event Logic
- Actions – overview
- Actions - Create an Action
- Actions - Relations to the Database Tables
- Remote Scheme - What is That?
- Remote Scheme - Create and Connect External GraphQL Scheme
- Section Summary
-
Authentication in Hasura
-
Database Migrations and Metadata
- Describe a Problem
- What is Migrations and Metadata?
- Meet Hasura CLI
- Create Initial Migration
- How to Export Metadata
- How to Check Migration Status
- How to Apply Metadata
- How to Keep Your Migrations and Metadata Always in Sync
- Migration Squashing
- Seed Migrations
- How to Rollback Changes if Something went Wrong
-
File Uploading and Small Improvements
-
Example with Angular, Apollo client, Firebase Storage, and Hasura Server
- Create an Angular App and Install Angular Material
- Implement SignUp Functionality
- Implement SignIn Functionality
- Typescript Code and Types Autogeneration
- Create Authentication Guards and Create a User Profile
- Perform Secure Queries to GraphQL Endpoints
- Implement File Uploading
- Render the List of Uploaded Files
- Open File Details in Dialog Window
- Add Comments to the File
-
Example with React, Apollo Client, Firebase Storage, and Hasura Server
- Create a React App and Install Dependencies
- Implement SignUp Functionality
- Implement SignIn Functionality
- Typescript Code and Type Autogeneration
- Create Authentication Guards and Create a User Profile
- Perform Secure Queries to GraphQL Endpoints
- Implement File Uploading
- Render the List of Uploaded Files
- Open File Details in Dialog Window
- Add Comments to the File
-
Hasura Project Deployment to Development and Production Environments Using GitHub Actions
- Configuring Hasura for Convenient Local Development for a Team
- Configure Cloud Functions for Multi-Environments
- Configure React Application for Multi-Environment Support
- Create and Configure Firebase Production and Develop Projects
- Create and Configure Hasura Production and Development Instances
- Configure GitHub Repository and Set Up Sensitive Data as Secrets
- Deploy Cloud Function with GitHub Actions
- Deploy Hasura Engine with GitHub Actions
- Deploy React App using GitHub Actions
- Deploy the Entire Project to Production Environment
-
Hasura 2.0
If you’re a developer struggling with GraphQL because of its complexity or simply because it takes too much time, this is going to be the most exciting news for you.
If you get to know that your existing PostgreSQL (and soon MySQL too) can be turned into a powerful GraphQL API in a matter of seconds or build a performant GraphQL backend from start to finish in a couple of hours with very little to no coding-would you be interested?
This course provides you with a solution. This course will talk about “Hasura”, which will help you create your GraphQL backends easier and faster than you ever thought possible without writing a single line of code!
Here, you will look at how to let the CRUD code write itself without you even touching your keyboard. Then you’ll learn how to play with all the different features in Hasura using the “playground” approach. After that, you’ll understand how to easily navigate through the most common errors that can cost you a huge chunk of your time if you don’t know about them. Finally, you’ll use Angular and React apps to enhance Hasura features and deploy the code on GitHub Actions.
By the end of this course, you’ll be able to use every functionality to create your GraphQL backends effortlessly in record time.
The resource files are uploaded on the GitHub repository at https://github.com/PacktPublishing/Blazing-Fast-GraphQL-Backend-Development-Using-Hasura
- Publication date:
- May 2021
- Publisher
- Packt
- Duration
- 7 hours 1 minute
- ISBN
- 9781801078252