In this class we create a helper function to check if the user is authenticated and use it as middleware on queries/mutations that require the user to be logged in, and write mutations for creating and deleting posts.

#graphql

GraphQL Server (MERNG): #3 Authentication Middleware.
1.55 GEEK