Backend with Go
Start with how servers talk to clients, learn Go from the ground up, then build real JSON APIs (and gRPC services) backed by PostgreSQL with background jobs — and finish with auth, web security, testing, observability, profiling and deployment.
- 21 lessons
- 4 stages
- 28 concept notes
- includes Git & Collaboration
- includes SQL & Databases (optional)
- includes System Design (optional)
Also part of Software Engineer — progress here counts there too.
Your progress
0 / 19
required steps
+ 0/5 optional
- 01
Foundations
How backends work and the Go language itself.
- 01How backends workRequests, responses, statelessness and status codes.
- 02Go basicsPackages, variables, control flow, slices and maps.
- 03Structs, methods & interfacesModelling data and behaviour the Go way.
- 04Generics & iteratorsConstraints, slices and maps, and range-over-func iterators.
- 05Error handlingErrors as values, wrapping, errors.Is and errors.As.
- 06ConcurrencyGoroutines, channels, select, sync and context.
- Gt
Step 07 · Roadmap · 10 lessons
Git & Collaboration
You will version, review and ship every service through Git.
0/9
- 02
Building APIs
Turn Go code into a well-designed HTTP service.
- 08HTTP servers with net/httpHandlers, ServeMux patterns and timeouts.
- 09Routing & middlewarePath parameters, composition and request context.
- 10JSON & validationEncoding, decoding safely and validating input.
- 11REST API designResources, methods, pagination and error shapes.
- 12gRPC services optionalProtocol Buffers, generated code, deadlines, status codes and streaming.
- 03
Data
Persist and serve data reliably.
- 13SQL databases in Godatabase/sql, pgx, connection pools and scanning.
- 14Migrations & transactionsEvolving schemas and keeping data consistent.
- 15Background jobsA Postgres job queue with SKIP LOCKED, retries and idempotency.
- Sq
Step 16 · Roadmap · 13 lessons · optional
SQL & Databases
Go deeper on queries, schema design, indexes and isolation.
0/13 - 17Caching with Redis optionalCache-aside, TTLs and invalidation.
- 04
Production
Secure it, test it, watch it, ship it.
- 18Authentication & authorizationPassword hashing, sessions vs tokens, RBAC.
- 19Web security for Go APIsCORS, CSRF, security headers, XSS and SSRF.
- 20Testing in GoTable-driven tests, httptest and test doubles.
- 21ObservabilityStructured logging with slog, metrics and tracing.
- 22Profiling & performance optionalBenchmarks, pprof, escape analysis and the execution tracer.
- 23Deploying Go servicesConfig, graceful shutdown, Docker and health checks.
- Sd
Step 24 · Roadmap · 21 lessons · optional
System Design
One service works. Now design systems of them: scaling, data, queues and failure.
0/16
- You made it.