GraphQL Server Boilerplate Intermediate Tutorial

2018/10/13 posted in  Practice

https://www.freecodecamp.org/news/beaucarnes/graphql-server-boilerplate-intermediate-tutorial

See how to code a GraphQL server boilerplate. This full intermediate course from Ben Awad uses many technologies including Typescript, Node.js, PostgreSQL, Redis, React, Jest, OAuth, TypeORM, and SparkPost.

Here is what the course covers:

Setting up a TypeORM Project
Creating a TypeORM Entity
Creating a User into with TypeORM
Setting up Jest
Setting up a Test Database with TypeORM
Getting GraphQL Yoga and Jest to work together
GraphQL Schema Stitching
Handling Errors in GraphQL
GraphQL Validating Input
Email Confirmation Link with Redis
Jest Global Setup
Testing Redis Email Link
Fixing Connection Error
Send Confirmation Email with SparkPost
GraphQL Login Mutation
Express Session for Login
GraphQL Middleware
Running Jest Tests Sequentially
Logging or Authentication GraphQL Middleware
Simple Logout with GraphQL
Building a GraphQL Server Test Client
Logout of Multiple Sessions
Forgot Password Test Case
Lock User Account GraphQL
GraphQL Forgot Password Implementation
Rate Limiting
Twitter OAuth
OAuth Demo with React
Getting the Jest tests to run in Parallel
Merging a Modular GraphQL Schema
Removing the Race Conditions from the Tests

You can watch the video below, or on the the freeCodeCamp.org YouTube channel (almost 8 hour watch):

https://www.youtube.com/watch?time_continue=4101&v=-iwjiiCGiO0