filmov
tv
Golang Tutorial for Beginners - Build API with Test-driven Development

Показать описание
In this video, we will show you how to build a Go API from scratch using the TDD approach. We will use the http handlers library to create our API and we will also cover some modern test-driven development techniques.
If you want to learn how to build a Go API using the TDD approach, then watch this video! We will walk you through the entire process, from start to finish, and show you how to use the http handlers library to create your API. This is a thoroughly explained and comprehensive tutorial that will teach you everything you need to know about TDD in Go!
⭐️Social⭐️
⭐️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
If you want to learn how to build a Go API using the TDD approach, then watch this video! We will walk you through the entire process, from start to finish, and show you how to use the http handlers library to create your API. This is a thoroughly explained and comprehensive tutorial that will teach you everything you need to know about TDD in Go!
⭐️Social⭐️
⭐️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