Рет қаралды 5,138
Enjoying my videos? Sign up for more content here: www.coopercodes.com/
📩 Join codeLetter by Cooper Codes, the 3 minute tech newsletter: thecodeletter.com
Interested in a 1:1 mentorship with me? Jumpstart your career at www.rebrand.ly/coopercodesmen...
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.
Final Code: github.com/coopercodes/LiveNe...
Buying stuff through my Amazon link supports the channel! amzn.to/3hK5gd0
Business inquiry? Email thecoopercodes@gmail.com
0:00 Intro / Project showcase
1:00 npm installs / package.json setup
2:38 Initial server.ts code
4:58 Defining typedefs and resolvers
12:50 Finishing up server logic
19:35 Create GraphQL Mutations / Subscriptions
21:43 Thanks for watching!