In this video, we will build a clone of the Twitter API, where users can register, follow & unfollow other users, as well as send and subscribe to messages.
Repository: https://github.com/TomDoesTech/graphq...
By watching this video you will learn how GraphQL works, TypeGraphQL, the Fastify plugin ecosystem, and how to automatically generate queries, mutations, and subscriptions for your client application.
0:00 Introduction
1:35 Postman demo
3:36 Bootstrap server
7:35 User resolver
12:26 Define schema
19:04 Apollo plugins
21:34 Subscription server
25:14 Register plugins
29:27 Build context
31:49 Register user
37:08 Prisma schemas
45:08 Login
55:57 Follow user
1:01:57 Find users
1:03:27 Following resolver
1:05:27 Followers resolver
1:06:26 Authorization
1:08:52 Unfollow
1:11:05 Tweet
1:20:50 Find Tweets
1:21:30 Subscription
1:24:47 Generate queries & mutations
🌎 Follow me here:
Discord: / discord
Twitter: / tomdoes_tech
Facebook: / tomdoestech
Instagram: / tomdoestech
TikTok: / tomdoes_tech
☕ Buy me a coffee: https://www.buymeacoffee.com/tomn