Build A Live News API with Apollo Server V4 Subscriptions and GraphQL (TypeScript Tutorial)

preview_player
Показать описание

In this video we dive deep into Apollo Server V4 subscriptions and using the graphql-ws library to create a scalable Apollo Server API that allows users to view live events. This video is perfect for anyone looking to create any system that requires live data and is just the start to what you can create using powerful technologies such as subscriptions. This is also a great introduction to GraphQL and what GraphQL looks like when working with Apollo Server typedefs and resolvers.

0:00 Intro / Project showcase
4:58 Defining typedefs and resolvers
12:50 Finishing up server logic
19:35 Create GraphQL Mutations / Subscriptions
21:43 Thanks for watching!
Рекомендации по теме
Комментарии
Автор

thank you so much, I have been looking for something amazing like this!

junjieyang
Автор

I was struggling to understand the subscription part of apollo graphql documentation. This video helped me a lot. Thanks
]

armanulalam
Автор

Great introduction to Subscriptions. Thanks. :)

paulthomas
Автор

Thx a lot for this amazing video, I am trying to do the same but I want to use Hapi instead express, do you have any other video or documentation that can I use?

marianodiez
Автор

Thanks, great job and we appreciate. Can you do some tutorial on apollo express error handling

nwaformicah
Автор

Hello, I am able to successfully make a mutation but when I do subscriptions I get a status error saying it's unable to connect to the ws://localhost:4000/graphql. Do you know what might be causing this issue? I even tried cloning you git code and running it on my local machine with no success

martinapincione
Автор

how can i create a seperate file for schema and resolver for the same

logindharam
Автор

if I deploy this server on production I get this message:

Send a POST request to query this endpoint:

curl --request POST \
--header 'content-type: application/json' \


any help?

logeshr