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

Adding new notes with mutations

From the course: Learning Apollo

Start my 1-month free trial

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…

Contents