Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanfoxtyler committed Feb 26, 2025
1 parent 2542000 commit 586dfc5
Show file tree
Hide file tree
Showing 28 changed files with 49 additions and 53 deletions.
4 changes: 2 additions & 2 deletions dgraph/guides.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ description:

- [Get Started with Dgraph](/dgraph/guides/get-started-with-dgraph/introduction)
- [Data Model 101](/dgraph/guides/data-model-101/introduction)
- [Build a To Do app](/dgraph/guides/todo-app/overview)
- [Build a full React app](/dgraph/guides/react/introduction)
- [Build a To-Do list app](/dgraph/guides/to-do-app/introduction)
- [Build a Message Board app](/dgraph/guides/message-board-app/introduction)
45 changes: 44 additions & 1 deletion dgraph/guides/data-model-101/introduction.mdx
Original file line number Diff line number Diff line change
@@ -1,10 +1,53 @@
---
title: Graphs and Natural Data Modeling
title: Graph Data Models 101
description:
Graphs provide an alternative to tabular data structures, allowing for a more
natural way to store and retrieve data
---

When building an app, you might wonder which database is the best choice. A
traditional relational database that you can query using SQL is a familiar
choice, but does a relational database really provide a natural fit to your data
model, and the performance that you need if your app goes viral and needs to
scale up rapidly?

This tutorial takes a deeper look at data modeling using relational databases
compared to graph databases like Dgraph, to give you a better understanding of
the advantages of using a graph database to power your app. If you aren't
familiar with graph data models or graph databases, this tutorial was written
for you.

## Learning Goals

In this tutorial, you will learn about graphs, and how a graph database is
different from a database built on a relational data model. You will not find
any code or syntax in this tutorial, but rather a comparison of graphs and
relational data models. By the end of this tutorial, you will be able to answer
the following questions:

- What is a graph?
- How are graphs different from relational models?
- How is data modeled in a graph?
- How is data queried from a graph?

Along the way, you might find that a graph is the right fit for the data model
used by your app. Any data model that tracks lots of different relationships (or
_edges_) between various data types is a good candidate for a graph model.

Whether this is the first time you are learning about graphs or looking to
deepen your understanding of graphs with some concrete examples, this tutorial
will help you along your journey.

If you are already familiar with graphs, you can jump right into our coding
example for [React](/courses/messageboardapp/react/overview/introduction/).

If you are a SQL user and you'd like to learn how common SQL syntax maps to
similar GraphQL syntax so you can use your SQL knowledge to jump-start your
GraphQL learning journey, see
[Introduction to Dgraph for SQL Users](/courses/datamodel/sql-to-dgraph/overview/introduction).

## Graphs and Natural Data Modeling

Graphs provide an alternative to tabular data structures, allowing for a more
natural way to store and retrieve data.

Expand Down
47 changes: 0 additions & 47 deletions dgraph/guides/data-model-101/overview.mdx

This file was deleted.

2 changes: 1 addition & 1 deletion dgraph/guides/get-started-with-dgraph/introduction.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Get Started with Dgraph - Introduction
title: Get Started with Dgraph
---

**Welcome to getting started with Dgraph.**
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Introduction
title: Build a Message Board App in React
description:
Learn to deploy a GraphQL Backend, design a schema, and implement a React UI.
This 2-hour course walks you through it
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Overview
title: Build a To-Do List App
description:
This is a simple tutorial that will take you through making a basic to-do app
using Dgraph’s GraphQL API and integrating it with Auth0
Expand Down
File renamed without changes.

0 comments on commit 586dfc5

Please # to comment.