Full Stack Graphql With Spring Boot Kotlin And React Apollo
Published 4/2023
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 5.83 GB | Duration: 12h 6m
Published 4/2023
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 5.83 GB | Duration: 12h 6m
Learn how to build GraphQL application with spring boot and React, Apollo client and Integration Testing of GraphQL
What you'll learn
You will learn What is GraphQL
You will understand difference between GraphQL and REST API
You will learn what is QueryResolver?
You will learn what is MutationResolver?
You will learn what is FieldResolver?
You will learn How to integrate with Database
You will learn How to write Integration testcase for Graphql Query and mutation
You will learn How to create custom scalar types in graphQL
You will learn How to solve N+1 query problem - DataLoader
You will learn How to create Custom @Directive in GraphQL
How to Setup Spring Security In GraphQL
How to use JWT token
How to Setup Role based Authorization In GraphQL
How to Setup React Application With Apollo Client
How to Setup Codegen based Development Workflow
Authentication and Authorization At React Level
Formik With Yup Validation
React Router Dom V6 Integration
MUI - Material UI with React
Requirements
Knowledge of Spring Boot - beginner level
Description
Are you someone who want to learn GraphQL with spring boot Kotlin & React and how to test GraphQl application then you are in right place :).In Easy way you will learn How to create full stack project with Spring boot GraphQl and React With JWT based Authentication and Authorization.This course enables you as a GraphQL engineer who can explain graphQL in simple words to anyone.Throughout the course, we will practice a lot writing graphql schema and we will understand how the graphQL ecosystem works with spring boot.You will learn what is GraphQl and how to set up the graphQL project with spring boot & React With Security Using JWT.What is GraphQL?A query language for your APIGraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. GraphQL provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need and nothing more, makes it easier to evolve APIs over time, and enables powerful developer tools.Ask for what you need,get exactly thatSend a GraphQL query to your API and get exactly what you need, nothing more and nothing less. GraphQL queries always return predictable results. Apps using GraphQL are fast and stable because they control the data they get, not the server.In this course, you will learn:-What is GraphQL?Difference between GraphQL and REST APIHow to Setup Spring Security In GraphQLHow to use JWT tokenHow to Setup Role based Authorization In GraphQLHow to Setup React Application With Apollo ClientHow to Setup Codegen based Development WorkflowAuthentication and Authorization At React LevelWhat is Query in GraphQL?What is Mutation in GraphQL?What is Schema in GraphQL?What is QueryResolver in GraphQL?What is MutationResolver in GraphQL?What is FieldResolver in GraphQL?How to Integrate GraphQL application with database using Spring Data JPA.How to write an integration test for graphQL.How to maintain graphQL schema.How to create custom scalar type in graphQLHow to perform input validation in graphQlHow to transform field value with @DirectiveHow to solve N+1 query problem in graphqlFormik With Yup ValidationReact Router Dom V6 IntegrationMUI - Material UI with React
Overview
Section 1: Introduction
Lecture 1 Introduction
Lecture 2 GraphQL With Spring boot Project Setup
Lecture 3 Source Code Github Link
Section 2: GraphQL Query Introduction
Lecture 4 Getting Started With GraphQL Query
Lecture 5 Parameterized GraphQL Query
Lecture 6 Return Array From GraphQL Query
Lecture 7 Return Object Type From GraphQL Query
Lecture 8 Field Resolver In GraphQL
Section 3: Spring JPA Data With GraphQL Kotlin
Lecture 9 Creation Of Entities
Lecture 10 User and Post Service and Repository
Lecture 11 Pagination With GraphQL
Section 4: GraphQL Mutation - Spring boot Kotlin
Lecture 12 Create Author GraphQL Mutation
Lecture 13 Get Users GraphQL Query
Lecture 14 Refactoring…
Lecture 15 Create Post GraphQL Mutation
Section 5: More on GraphQL Query and Mutation
Lecture 16 Total Post Field Resolver
Lecture 17 Exercise - adding new entity in schema
Lecture 18 Get Comments Query
Lecture 19 Comments as Field in Post & Author Schema
Lecture 20 Add Comment Entity - Database
Lecture 21 Fetching Comment Records From Database
Lecture 22 Add Comment Entity Relation With Author & Post Entity
Lecture 23 Add Comment Mutation
Section 6: N+1 GraphQL Problem - Request Batching
Lecture 24 N+1 GraphQL Problem Introduction
Lecture 25 Verifying Understanding of Problem With Logger
Lecture 26 Batching Request Implementation
Section 7: Scalar Types In GraphQL
Lecture 27 Introduction Of Scalar Types In GraphQL
Lecture 28 DateTime Scalar Types In GraphQL
Lecture 29 Regex Scalar Types In GraphQL
Lecture 30 Custom Email Scalar Type Implementation From Scratch
Section 8: Input Validation & Transformation In GraphQL With Directive
Lecture 31 GraphQL Directive Introduction - @Size
Lecture 32 @NotEmpty & @ContainerNotEmpty Directive Impl
Lecture 33 @Pattern - Regex Based Validation
Lecture 34 Custom Directive - @Uppercase - end to end
Section 9: GraphQL Security Using Jwt - Authentication & Authorization
Lecture 35 Spring Security Architecture Explained
Lecture 36 Jwt Util - Generate And Validate Token
Lecture 37 Jwt Util Unit Testcases
Lecture 38 Spring Security Config
Lecture 39 Login Mutation
Lecture 40 Restrict addPost Mutation Execution For ADMIN Role
Lecture 41 Custom Spring Security Implementation - Jwt Filter, Manager, & Provider Etc
Lecture 42 Secure Queries and Mutations With @PreAuthorize Annotation
Lecture 43 Add Register Mutation - Password Encoder Impl
Lecture 44 Enhance Login And Integrate With Database - Security Testing end to end
Section 10: GraphQL Query And Mutation Integration testing With Jwt Flow Using Kotest
Lecture 45 Add Kotest and Integration TestCase for Simple Queries
Lecture 46 Integration Test For Queries With Variables
Lecture 47 AddUserMutation Integration Test
Lecture 48 Login Flow Integration Testcase
Lecture 49 Integration Test For Secure Operation - Fetching Users - @PreAuthorize
Lecture 50 GetPosts Query Integration Testcase
Section 11: React Setup With Apollo client, React Router Dom V6 and Formik, Codegen and Auth
Lecture 51 Create React App With Typescript
Lecture 52 Integrate Apollo Client In React App
Lecture 53 Add Codegen CLI - Generate Types from GraphQL Schema
Lecture 54 Apollo Codegen Plugin For Generating Hooks
Lecture 55 MUI Drawer React Component
Lecture 56 List Drawer Actions Option - Link
Lecture 57 Integration of React Router Dom V6 - Routes
Lecture 58 Login Form Using Formik and Yup For Validation
Lecture 59 Generate Login Mutation and Call Inside Login Container
Lecture 60 Show Loader and Error For Login Request
Lecture 61 Auth Provider Using React API Context
Lecture 62 Add Logout Feature
Lecture 63 Secure Routes - Require Auth Component
Lecture 64 Roles Based Routing - React Router Dom V6
Lecture 65 Add Post Container With Retry Implementation
Lecture 66 Apollo Middleware For Injecting Authorization Header In Requests
Lecture 67 PostList Component For Displaying Posts
Lecture 68 Show Comments For Post
Lecture 69 Add Comment Form
Lecture 70 Comment Issue Explained and Fixed
Lecture 71 Add Post Form With Formik and Yup Validation
Lecture 72 Add comment Issue Fixed
Lecture 73 Add register Form
Lecture 74 Option For Navigating To Register Page from Login
Beginner Java developers curious about GraphQL