The Ultimate Guide to handling JWTs on frontend clients (GraphQL)
JWTs are becoming a popular way of handling auth. This post aims to demystify what a JWT is, discuss its pros/cons and cover best practices in implementing JWT on the client-side, keeping security in mind.
Implementing Authorization for Organization-based, Team-based, or Tenant-based Apps in Hasura
This blog post outlines how to model a common organization-based permission system in Hasura.
Implementing a Google Drive Style Hierarchical Authorization System in Hasura
A guide to implementing a hierarchical, role-based ACL system pattern similar to Google Drive, with individual permission overrides and permission inheritance.
Build Fullstack Apps with NestJS, Hasura, and GraphQL APIs
In this post, we'll give a general overview to NestJS, how it works in the context of Hasura and how GraphQL APIs can be built with these together.
Guides And Tutorials
Your Guide to GraphQL with TypeScript
Type safety is an enormous benefit for developers when embracing the GraphQL ecosystem. This tutorial guides you through a practice known as generative type tooling which allows you to unlock the full potential of GraphQL types in the front-end.
GraphQL Authorization with Hasura: How to prevent mutations after a time interval
A guide on how to use PostgreSQL Triggers and Column Comparison operators in Hasura to prevent users from updating rows after a time interval.
GraphQL Observability with Hasura
When you're trying to diagnose why a particular operation is taking a long time to complete, or just want to better understand what's going on "behind-the-scenes" in your queries, the ability to debug and analyze metrics from your Hasura instance is a critical factor. In this post we'll take a look at how to do this by: * Walking through the tools we have available * Showcasing how to use these tools, with follow-along images and guided descriptions * Discussing "gotchas" and useful tips
Hasura vs Apollo Server vs Prisma 2
How does Hasura compare to Apollo and Prisma 2? We've taken a look at the functionality of these tools, where they live in an application and their relationships with each other!
Building Applications with CloudFlare Workers and Hasura GraphQL Engine
Today, we explore using Cloudflare Workers to implement JWT auth and role-based content access to a relational database.
Hasura Metadata SDK
The Hasura Metadata SDK is a collection of type definitions for Hasura metadata in various programming languages. Users can also generate definitions in other languages if their preferred language is not readily available.
Turn your Go REST API to GraphQL using Hasura Actions
In this post, we will look at using Hasura Actions to convert your Go REST API to GraphQL.