Mastering API Development in Go with TDD: A Modern Approach (New Golang Tutorial)



Mastering API Development in Go with TDD: A Modern Approach (New Golang Tutorial)

Mastering API Development in Go with TDD: A Modern Approach (New Golang Tutorial)

Learn the art of Test-Driven Development (TDD) in Go by building a robust REST API from scratch! This course, “Mastering API Development in Go with TDD: A Modern Approach,” takes you from the basics to advanced concepts of TDD and API development. You’ll learn how to test HTTP handlers with dependencies on databases and other layers. Designed for both beginners and seasoned Go professionals keen on honing their testing skills, this course offers a comprehensive look into modern testing methodologies in Go. Dive into a hands-on curriculum, get real-world practice, and become proficient in TDD and API development in Go. Whether you’re a novice or a pro, this course has something to offer. Join us now, and take your Go programming and testing skills to the next level!

⭐️Social⭐️
Repository: https://github.com/joefazee/go-api-tdd
Linkedin https://www.linkedin.com/in/abahjoseph/
X: http://x/codewithaj

⭐️Some of the things you will learn⭐️
– How to test your database layer
– How to test your middleware
– Testing basic packages like password hashes with 100% test coverage
– How to test your JWT generation and verification algorithm
– Build a complete API.

⭐️ Course Contents ⭐️
⌨️ 0:08 Introduction
⌨️ 1:24 Demo Start
⌨️ 2:51 Setup
⌨️ 5:24 Domain Layer (Our Data structure)
⌨️ 8:19 Testing the Postgres Store
⌨️ 16:17 Testing Password Hashing
⌨️ 24:58 Database Connection
⌨️ 28:26 Database Interaction & Testing the User Model
⌨️ 40:44 Creating the Contracts
⌨️ 42:05 Adding Test for DeleteUserByID
⌨️ 46:54 Implementing & Testing FindUserByEmail
⌨️ 56:26 Test and Implement FindUserByID
⌨️ 1:01:25 Setting up the Server Mux
⌨️ 1:14:16 HTTP Handler Test Setup
⌨️ 1:19:13 Testing HTTP Handler – CreateUser Endpoint
⌨️ 1:39:00 Test Create User Endpoint from Postman
⌨️ 1:39:38 Test and Implement JWT
⌨️ 2:16:38 Testing HTTP Handler – Login
⌨️ 2:39:43 Testing Middleware
⌨️ 3:08:29 Add Test and Implementation for Blog Model
⌨️ 3:27:29 Implementing Blog Endpoint with Test
⌨️ 3:52:30 Closing

Comments are closed.