Backend Engineering with Go

The complete guide for building and deploying production web APIs in Golang (PostgreSQL, Docker and Google Cloud)

  • 0.0 (0 Reviews)
  • 0 Students
  • 85 Lessons
  • Tiago Taquelim

Course Overview

In this project-based course, we will build a complete REST API in Go from scratch and deploy it to the cloud, ready to handle real traffic and scale affordably.


Our journey begins by creating a simple TCP server, which will help us explore the net/http package in Go and understand the basics of handling network communication.


Next, we’ll dive into the theory behind building reliable and composable Go web applications. From there, we’ll develop our project step-by-step, covering carefully curated topics such as request handling, middleware creation, database integration, request and database optimisations and rate limiting to equip you with the skills needed to ship real backend services to the cloud and manage real-world traffic efficiently.


This course aims to provide you with the foundational knowledge required to build and understand backend systems, implement industry best practices, and create production-ready APIs that are secure, scalable, and maintainable. It is not just a step-by-step tutorial, but a comprehensive learning experience that prepares you for real-world scenarios.


Legal Notice:

All product and company names, logos, and trademarks featured on this thumbnail are the property of their respective owners. Their use in this course does not imply any affiliation, sponsorship, or endorsement by these companies.

See more

FAQ

FAQ area empty

Course curriculum

23 chương 85 bài học 17 giờ 5 phút 7 bài học thử miễn phí
Chương 1 Introduction
Chương 2 Project Architecture
Chương 3 Mini Course: Advanced Go
Chương 4 Building a server from TCP to HTTP
  • TCP Server - net package 8:27
  • Understanding Routing 3:54
  • HTTP Server - The net/http package 11:02
  • Encoding & Decoding JSON Requests 7:44
Chương 5 Scaffolding our API Server
  • Setting up your Development Environment 7:51
  • Clean Layered Architecture 11:31
  • Setting up the HTTP server and API 18:11
  • Hot Reloading in Go 3:30
  • Environment Variables 6:56
Chương 6 Databases
  • The Repository Pattern 9:20
  • Implementing the Repository Pattern 7:51
  • Persisting data with SQL 12:53
  • Configuring the DB Connection Pool 17:15
  • SQL Migrations 15:40
Chương 7 Posts CRUD
  • Marshalling JSON responses 14:25
  • Creating a User Feed Post 14:19
  • Getting a Post From a User 11:41
  • Internal Errors Package 7:06
  • HTTP Payload Validation 7:43
  • DB Relationships & SQL Joins 5:04
  • Adding Comments to Posts 15:44
  • Updating and Deleting Posts 23:29
  • Standardising JSON Responses 3:06
  • Optimistic Concurrency Control 14:09
  • Managing SQL Query Timeouts 4:52
  • Database Seeding 18:54
  • Database Seeding: "SSL not enabled" problem
  • Challenge: Create Comments for Posts
Chương 8 User Feed
  • Creating the User Profile 11:22
  • Adding Followers 25:10
  • SQL Indexes 8:48
  • User Feed Algorithm 21:12
Chương 9 Filtering, Sorting, and Pagination
  • Pagination and Sorting 14:47
  • Feed Filtering 15:12
Chương 10 Documentation
  • Windows problems when generating swagger docs
  • Auto Generating Docs for the API 16:00
  • Documenting the Handlers 9:26
Chương 11 Structured Logging
  • Adding a Logger 12:32
Chương 12 User Creation
  • User Registration Overview 26:01
  • SQL Transactions 23:01
  • User Activation 25:38
Chương 13 Sending Emails
  • Sending the Invitation Email 39:24
  • (Optional) Sending Emails using MailTrap 7:28
  • Improving Further the Email 11:47
  • Extra: Building the Confirmation UI 18:24
Chương 14 Authentication
  • Authentication Overview 23:52
  • Basic Authentication 14:27
  • Generating Tokens 27:07
  • Validating Tokens 20:09
  • Challenge: Bug on Token Generation Handler
Chương 15 Authorization
  • Authorization Overview 6:50
  • Authorization Database Setup 9:03
  • Role Precedence Middleware 19:41
  • Fixing the User Invitation 5:02
Chương 16 Redis Caching
  • Designing for Performance 8:11
  • Caching the User Profile 38:11
Chương 17 Testing
  • Testing Overview 6:40
  • Testing the User Handler 28:06
  • Spies 8:24
Chương 18 Graceful Shutdown
  • Graceful Server Shutdown 11:56
Chương 19 Rate Limiting
  • Rate Limiting our API 21:51
Chương 20 Handling CORS
  • Handling CORS errors 13:45
Chương 21 Server Metrics
  • Basic Server Metrics 10:02
Chương 22 Automation (CI/CD)
  • Continuous Integration 14:25
  • Changelog 11:34
Chương 23 Production Deployment
  • Deploying to Google Cloud 24:21

Requirment

  • Basic Go Knowledge

Outcomes

  • Learn the Fundamentals of Web Development with Go

  • Build Production Grade Applications with Go

  • Learn to Weight and Think about Software Design Decisions

  • Learn to Build and Deploy Go APIs to the Cloud

  • Learn How to Scale and manage Traffic

  • Learn How to Connect a Postgres Database with a Go Server

Instructor

...
Tiago Taquelim

0.0

  • ... 0 Student
  • ... 2 Courses
  • ... 0 review

View Details

Reviews

Rate this course :

Remove all