Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

GraphQL Server Intermediate Tutorial - Boilerplate with Typescript, PostgreSQL, and Redis

via freeCodeCamp

Overview

Dive into an 8-hour intermediate tutorial on building a robust GraphQL server boilerplate using Typescript, Node.js, PostgreSQL, Redis, React, Jest, OAuth, TypeORM, and SparkPost. Learn to set up a TypeORM project, create entities, implement user authentication, handle errors, validate input, and send confirmation emails. Master GraphQL schema stitching, middleware implementation, and session management. Explore advanced topics like rate limiting, Twitter OAuth integration, and parallel test execution. Gain hands-on experience in building a modular GraphQL schema, removing race conditions from tests, and creating a GraphQL server test client. By the end of this comprehensive tutorial, you'll have the skills to develop a production-ready GraphQL server with modern technologies and best practices.

Syllabus

) Introduction.
) 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.
) Conclusion.

Taught by

freeCodeCamp.org

Reviews

Start your review of GraphQL Server Intermediate Tutorial - Boilerplate with Typescript, PostgreSQL, and Redis

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.