Tutorials
Our step-by-step instructions in this tutorials section guide you through various Fauna use cases.
FQL tutorials
-
Learn about the Fauna’s fundamental concepts, including documents, collections, indexes, data modeling, custom functions, plus authentication and authorization in the 5-part Basics tutorial.
-
Learn how to create, read, update, and delete documents with our CRUD tutorial.
-
Learn how to use indexes to sort, search, or to search and sort documents.
-
Fauna is a bi-temporal database. Learn how to execute snapshot and event queries in the Temporality tutorial.
-
Fauna supports multi-tenant databases. Our Multitenancy tutorial shows you how to use this feature.
-
Learn how to use authentication in the user authentication tutorial, and how to control access to information in Fauna with our Attribute-based access control (ABAC) tutorial.
-
Our Social graph demonstrates how to form relationships between users, using a simple graph-like queries.
-
Our E-commerce tutorial demonstrates one way to use Fauna to keep track of users and purchases.
-
Learn how to avoid database contention in high write throughput situations with this tutorial on scaling write throughput.
-
Learn how to form complex queries involving multiple conditions and multiple fields with this tutorial on combination field filtering.
GraphQL tutorials
-
Our Developer Advocate team has created a hands-on workshop that shows you how to develop a multi-tenant application using the Fauna GraphQL API.
-
Try the Relations tutorial to learn how to use the
@relation
directive to form bi-directional relations that connect a GraphQL schema attribute to another GraphQL Type. -
Learn how to use the
@unique
·directive,·which·allows·you·to add·constraints·to·your·GraphQL·schema to enforce uniqueness on a type, in the Unique·constraints tutorial. -
Learn how to use pagination, where only a small group of results is return for any one query and subsequent queries can fetch the next or previous group, in the Pagination tutorial.
-
Our Developer Advocate team has created a free Egghead course that teaches you how to create a full-stack serverless application using Next.js and the Fauna GraphQL API.