Completed
[Backend #5] Write Golang unit tests for database CRUD with random data
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Backend Master Class - Golang, Postgres, Docker
Automatically move to the next video in the Classroom when playback concludes
- 1 [Backend #1] Design DB schema and generate SQL code with dbdiagram.io
- 2 [Backend #2] Install & use Docker + Postgres + TablePlus to create DB schema
- 3 [Backend #3] How to write & run database migration in Golang
- 4 [Backend #4] Generate CRUD Golang code from SQL | Compare db/sql, gorm, sqlx & sqlc
- 5 [Backend #5] Write Golang unit tests for database CRUD with random data
- 6 [Backend #6] A clean way to implement database transaction in Golang
- 7 [Backend #7] DB transaction lock & How to handle deadlock in Golang
- 8 [Backend #8] How to avoid deadlock in DB transaction? Queries order matters!
- 9 [Backend #9] Understand isolation levels & read phenomena in MySQL & PostgreSQL via examples
- 10 [Backend #10] Setup Github Actions for Golang + Postgres to run automated tests
- 11 [Backend #11] Implement RESTful HTTP API in Go using Gin
- 12 [Backend #12] Load config from file & environment variables in Golang with Viper
- 13 [Backend #13] Mock DB for testing HTTP API in Go and achieve 100% coverage
- 14 [Backend #14] Implement transfer money API with a custom params validator
- 15 [Backend #15] Add users table with unique & foreign key constraints in PostgreSQL
- 16 [Backend #16] How to handle DB errors in Golang correctly
- 17 [Backend #17] How to securely store passwords? Hash password in Go with Bcrypt!
- 18 [Backend #18] How to write stronger unit tests with a custom gomock matcher
- 19 [Backend #19] Why PASETO is better than JWT for token-based authentication?
- 20 [Backend #20] How to create and verify JWT & PASETO token in Golang
- 21 [Backend #21] Implement login user API that returns PASETO or JWT access token in Go
- 22 [Backend #22] Implement authentication middleware and authorization rules in Golang using Gin
- 23 [Backend #23] Build a minimal Golang Docker image with a multistage Dockerfile
- 24 [Backend #24] How to use docker network to connect 2 stand-alone containers
- 25 [Backend #25] How to write docker-compose file and control service start-up orders with wait-for.sh
- 26 [Backend #26] How to create a free tier AWS account
- 27 [Backend #27] Auto build & push docker image to AWS ECR with Github Actions
- 28 [Backend #28] How to create a production DB on AWS RDS
- 29 [Backend #29] Store & retrieve production secrets with AWS secrets manager
- 30 [Backend #30] Kubernetes architecture & How to create an EKS cluster on AWS
- 31 [Backend #31] How to use kubectl & k9s to connect to a kubernetes cluster on AWS EKS
- 32 [Backend #32] How to deploy a web app to Kubernetes cluster on AWS EKS