This plan includes
- Limitedfree coursesaccess
- Play & PauseCourse Videos
- VideoRecorded Lectures
- Learn onMobile/PC/Tablet
- Quizzes andReal Projects
- Lifetime CourseCertificate
- Email & ChatSupport
What you'll learn?
- Golang
- gRPC
- Ginkgo/Gomega Golang Testing
Course Overview
In this course, you will learn how to create gRPC API's using Golang. You will learn production ready techniques to put you at the top of Golang gRPC programmers. We will learn how to get 100% coverage from all of our models and endpoints. We will also build unary and stream interceptors. We will also explore sqlmock and how it can help us achieve 100% coverage. We will build our own mock files from our models. Come and explore the new and excited gRPC with me!
Pre-requisites
- Decent understanding of Golang
- Interest in learning gRPC
- Interest in learning how to test go Go
Target Audience
- Software Developer/Engineer
Curriculum 49 Lectures 05:42:53
Section 1 : Introduction
- Lecture 2 :
- Setting up ENV
- Lecture 3 :
- Setting up MySQL and other ENV's
Section 2 : State Management
- Lecture 1 :
- Database Migration
- Lecture 2 :
- Types: User
- Lecture 3 :
- Types: Validator
Section 3 : Repos (Models)
- Lecture 1 :
- Global Repo
- Lecture 2 :
- Users Repo
- Lecture 3 :
- UsersRepo: Create
- Lecture 4 :
- UsersRepo: FindById/FindByEmail
- Lecture 5 :
- UsersRepo: Update
- Lecture 6 :
- Setting Up Repo Tests
- Lecture 7 :
- UsersRepo: Create Tests with Mocking SQL
- Lecture 8 :
- Creating Tests WITHOUT Mocking Database
- Lecture 9 :
- UsersRepo: FindById(ByEmail) Tests
- Lecture 10 :
- UsersRepo: Generating Mocks
- Lecture 11 :
- UsersRepo: Update Tests
Section 4 : Protobufs
- Lecture 1 :
- Intro To Protobufs
- Lecture 2 :
- Protobuf: Types
- Lecture 3 :
- Protobuf: Users
- Lecture 4 :
- Protobuf: Auth
Section 5 : gRPC
- Lecture 1 :
- gRPC Utils
- Lecture 2 :
- gRPC Interceptors
- Lecture 3 :
- gRPC: Users Handler
- Lecture 4 :
- gRPC: Users Handler: Create
- Lecture 5 :
- gRPC: Users Handler: Create: Tests
- Lecture 6 :
- gRPC: Users Handler: Create: Tests part 2
- Lecture 7 :
- gRPC: Users Handler: Finishing routes
- Lecture 8 :
- gRPC: Users Handler: Finishing Test Coverage
- Lecture 9 :
- Running Server
- Lecture 10 :
- gRPC: Installing grpc_cli for testing the endpoints
- Lecture 11 :
- gRPC: Using grpc_cli to create a user in the database.
Section 6 : Authentication via JWT
- Lecture 1 :
- Creating the Auth Repo
- Lecture 2 :
- AuthRepo: GetNewClaims
- Lecture 3 :
- AuthRepo: GetSignedToken
- Lecture 4 :
- AuthRepo: GetDataFromToken
- Lecture 5 :
- AuthRepo: Creating Test File
- Lecture 6 :
- AuthRepo: Create Auth Tests
- Lecture 7 :
- If you skipped test video, please watch this
- Lecture 8 :
- AuthHandler: Login
- Lecture 9 :
- AuthHandler: Building test file
- Lecture 10 :
- AuthHandler: Login: Building Tests
- Lecture 11 :
- API: Adding auth endpoints to server
- Lecture 12 :
- Login with Auth Endpoints
- Lecture 13 :
- Discussing gRPC Authentication (only talking)
- Lecture 14 :
- Adding JWT Field to Routes
- Lecture 15 :
- Adding Authentication Checks to Interceptor and testing!
- Lecture 16 :
- Why touching the users tests is not required after adding authentication
- Lecture 17 :
- Full Test Suites
Our learners work at
Frequently Asked Questions
How do i access the course after purchase?
It's simple. When you sign up, you'll immediately have unlimited viewing of thousands of expert courses, paths to guide your learning, tools to measure your skills and hands-on resources like exercise files. There’s no limit on what you can learn and you can cancel at any time.Are these video based online self-learning courses?
Yes. All of the courses comes with online video based lectures created by certified instructors. Instructors have crafted these courses with a blend of high quality interactive videos, lectures, quizzes & real world projects to give you an indepth knowledge about the topic.Can i play & pause the course as per my convenience?
Yes absolutely & thats one of the advantage of self-paced courses. You can anytime pause or resume the course & come back & forth from one lecture to another lecture, play the videos mulitple times & so on.How do i contact the instructor for any doubts or questions?
Most of these courses have general questions & answers already covered within the course lectures. However, if you need any further help from the instructor, you can use the inbuilt Chat with Instructor option to send a message to an instructor & they will reply you within 24 hours. You can ask as many questions as you want.Do i need a pc to access the course or can i do it on mobile & tablet as well?
Brilliant question? Isn't it? You can access the courses on any device like PC, Mobile, Tablet & even on a smart tv. For mobile & a tablet you can download the Learnfly android or an iOS app. If mobile app is not available in your country, you can access the course directly by visting our website, its fully mobile friendly.Do i get any certificate for the courses?
Yes. Once you complete any course on our platform along with provided assessments by the instructor, you will be eligble to get certificate of course completion.For how long can i access my course on the platform?
You require an active subscription to access courses on our platform. If your subscription is active, you can access any course on our platform with no restrictions.Is there any free trial?
Currently, we do not offer any free trial.Can i cancel anytime?
Yes, you can cancel your subscription at any time. Your subscription will auto-renew until you cancel, but why would you want to?