From the course: Learning Apollo
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Adding new notes with mutations
- [Instructor] Okay, now if we want to see our add new notes we need to code that too. So let's do it. The first thing I want you to do and before we actually get to add new notes we want to test what we've done so far, make sure everything works. So let's go ahead and bring up our client. And right now let's clear that up. And is our server running? Yes, our server is running. So if it's not, then do npn start. And let's do the same for our client, see if there's any errors that pops up. Let's clear that up and be at the top page. So we have a little issue here with network interface. And obviously it's missing a case. So let's go and fix that. And let's go in app dot js. If you don't have it open, it's in the source folder of the client. And let's scroll to line 21. And we are missing a k here. All right, let's fix that one. We got another little issue here. And this one seems to be with, basically, how I named the file, versus how I'm calling it. So if we take a look at…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Introduction to subscriptions and schema9m 18s
-
(Locked)
Update resolvers for subscriptions10m 22s
-
(Locked)
Update components for subscriptions9m 6s
-
(Locked)
Create a custom resolver on client6m 2s
-
(Locked)
Add new contact header component5m 14s
-
(Locked)
Connect subscription with contact single14m 18s
-
(Locked)
Adding new notes with mutations15m 47s
-
(Locked)
Finalizing project with a beauty pass12m 13s
-
(Locked)
-