GraphQL Authentication with Node.js

Опубликовано: 21 Июнь 2017
на канале: Ben Awad
26,401
449

Learn how to do authentication in GraphQL with Node.js. This a simple authentication setup that will work for most projects. It uses JWT (json web tokens) to persist users after they login.

I'm using a Node.js server in the video that uses a Postgresql database. I have the code below for this if you would like to see/use it.

Download template to follow along with the video: https://github.com/benawad/graphql-ex...

Finished code: https://github.com/benawad/graphql-ex...

Links from video:
https://github.com/auth0/node-jsonweb...
https://github.com/kelektiv/node.bcry...
https://lodash.com/docs/4.17.4#pick
https://github.com/skevy/graphiql-app
https://jwt.io/

----
Video Suggestions:

Trello: https://trello.com/b/mErpLVj7/todo
Join the Trello board: https://trello.com/invite/b/mErpLVj7/...

----
Follow Me Online Here:

Instagram:   / benawad97  

Patreon:   / benawad  
----
Join the Discord:   / discord  
Twitter:   / benawad  
#benawad
TikTok:   / benawad   ​

----
Follow me online: https://voidpet.com/benawad
#benawad