Full Stack Apollo GraphQL With React and Node: Part 6 - Authentication: Part 1

preview_player
Показать описание
#GraphQL #Reactjs #NodeJS
NOTE: New 2021 version of full-stack GraphQL tutorial in progress. This time, we're using an actual database (Postgres), a super-modern ORM just out of beta (Prisma 2) and TypeScript of course.

This is the sixth in a series of videos that make up a tutorial on how to build a full-stack Apollo GraphQL application with React and Node. In this video, we use the 'Context' object in Apollo Server to authenticate users and allow them access to protected methods, such as Mutations that alter their profiles.

Social Media:
Рекомендации по теме
Комментарии
Автор

Hi, I just started learning graphQL, and in this, video, I don't understand how does the graphQL shows the newly created record when we are not updating the actual 'db.js' even after refreshing the playground page? does graphQL creates an instance of the store and persists that instance?

smsuraj
Автор

hi Will
I can't get the userId from this.context.user.id in saveRecord function?
After I print out I see user: null
What can I do?
Hammer

lamsungfai
join shbcf.ru