(Pre-Sale) Build a Twitter clone GraphQL API using Golang
Buy now
Learn more
Introduction
Tools Needed
Course Structure
Folder Structure
Go Modules
Basic AuthService
Intro - AuthService and Register
Coding - AuthService Interface and Validation of the RegisterInput
Testing - AuthService RegisterInput
Coding - Register and Dealing With the UserRepo Interface
Testing - Mockery and how to Mock the UserRepo so we can test the Register Method
Coding - Add the Login Method
Testing - Add Tests to our Login Logic
How to Speed up our Bcrypt Testing
PostgreSQL Setup
Coding - Setup PGX and Install Gotdotenv
Coding - Add Migrations with Golang-Migrate
Basic UserRepo
Coding - UserRepo Implementation
Testing - Integration Test for the Register Method and Creation of Test Helpers
Testing - Improving our Faker Package
GQL - Auth Resolvers
Intro - What is gqlgen
Coding - Adding gqlgen and Basic Setup of AuthResolver
Coding - Register & Login Resolvers
JWT - AccessToken - RefreshToken
Intro - How we will work with the Refresh token
Coding - Implementation of the Refresh/AccessToken Creation and Parsing Logic
Testing - Writing Tests for our JWT Package
Coding/Testing - Create Auth Middleware and Play With Context
Coding/Testing - Using Insomnia for GraphQL Request and fix our Mocks
Tweet Service
Coding/Testing - Creating TweetService and TweetRepo Interface
Coding/Testing - Create Tweet Migration and Setup Create Tweet Logic
Coding/Testing - Implement TweetService GetByID and All
GQL - Tweet Resolvers
Coding - Implement Create Mutation and Tweets Query
Coding/Testing - Implement TweetService Delete and Plug it to GraphQL
Coding - Adding the User Relationship to the Tweet
Coding - Adding Dataloader for the Tweet User Relationship
Coding/Testing - Adding Replies to Tweet
Coding - Adding Replies to our GQL Layer
Products
Course
Section
Tweet Service
Tweet Service
(Pre-Sale) Build a Twitter clone GraphQL API using Golang
Buy now
Learn more
Introduction
Tools Needed
Course Structure
Folder Structure
Go Modules
Basic AuthService
Intro - AuthService and Register
Coding - AuthService Interface and Validation of the RegisterInput
Testing - AuthService RegisterInput
Coding - Register and Dealing With the UserRepo Interface
Testing - Mockery and how to Mock the UserRepo so we can test the Register Method
Coding - Add the Login Method
Testing - Add Tests to our Login Logic
How to Speed up our Bcrypt Testing
PostgreSQL Setup
Coding - Setup PGX and Install Gotdotenv
Coding - Add Migrations with Golang-Migrate
Basic UserRepo
Coding - UserRepo Implementation
Testing - Integration Test for the Register Method and Creation of Test Helpers
Testing - Improving our Faker Package
GQL - Auth Resolvers
Intro - What is gqlgen
Coding - Adding gqlgen and Basic Setup of AuthResolver
Coding - Register & Login Resolvers
JWT - AccessToken - RefreshToken
Intro - How we will work with the Refresh token
Coding - Implementation of the Refresh/AccessToken Creation and Parsing Logic
Testing - Writing Tests for our JWT Package
Coding/Testing - Create Auth Middleware and Play With Context
Coding/Testing - Using Insomnia for GraphQL Request and fix our Mocks
Tweet Service
Coding/Testing - Creating TweetService and TweetRepo Interface
Coding/Testing - Create Tweet Migration and Setup Create Tweet Logic
Coding/Testing - Implement TweetService GetByID and All
GQL - Tweet Resolvers
Coding - Implement Create Mutation and Tweets Query
Coding/Testing - Implement TweetService Delete and Plug it to GraphQL
Coding - Adding the User Relationship to the Tweet
Coding - Adding Dataloader for the Tweet User Relationship
Coding/Testing - Adding Replies to Tweet
Coding - Adding Replies to our GQL Layer
3 Lessons
Coding/Testing - Creating TweetService and TweetRepo Interface
Coding/Testing - Create Tweet Migration and Setup Create Tweet Logic
Coding/Testing - Implement TweetService GetByID and All