In this video, Emmanuel Henri adds a new component called add note and codes a new mutation to be able to add new notes for each contact and grow the CRM.
- [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 ContactSingle here…I'm calling it from AddNote but it's…
Released
10/2/2017- Initial setup for Apollo
- Tools required to work with Apollo
- Initial Apollo client setup
- Installing dependencies for Apollo server
- Finalizing Apollo server
- GraphQL mutations with Apollo
- Subscriptions with Apollo
- Updating resolvers and components for subscriptions
Share this video
Embed this video
Video: Adding new notes with mutations