DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Julio Daniel Reyes
Julio Daniel Reyes

Posted on

#3 Building a simple GraphQL API with Actix and Juniper (Rust)

⏱️TIMESTAMPS⏱️
0:00 Simple GraphQL API with Actix and Juniper - part 3
0:07 Start of the video
0:28 Refactoring of User queries into a repository
4:06 Get a single user
6:45 Code to create and list Posts
11:15 Query the posts on GraphiQL
13:10 Posts as a field of User
15:59 N+1 Problem
16:45 Solution? Dataloaders
17:11 Using a Dataloader to get the posts of an user
26:05 Did it work?
27:39 Thank you!

Part 1
Part 2

Top comments (1)

Collapse
 
arcticspacefox profile image
ArcticSpaceFox

Very cool

Become a Moderator Do you want us to help make DEV a better place?

Fill out this survey and help us by becoming a tag moderator here at DEV.