We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

Learn HTTP Servers in Go

HTTP servers are the backbone of modern web applications, and to be a backend developer you need to know how they work inside and out.

Also available in:

typescript

What will you learn?

Learn how to build and HTTP web server from scratch in the Go programming language. You'll build a production ready JSON API using fairly minimalistic tools. You'll incorporate middleware, routing, logging, webhooks, authentication, authorization, JWTs, and more. This course is the coup-de-grace for any aspiring backend developer.

Chapter List

1
Servers
We'll cover the basics of web servers, and why Go is such a great language for building performant web servers
2
Routing
We'll cover the basics of HTTP routing, and how to build a router using Go's standard library
3
Architecture
We'll talk about some different web architectures, and how to choose the right one for your project
4
JSON
Learn about how to parse and send JSON data from a Go server
5
Storage
We'll add a PostgreSQL database and talk about data storage and database migrations
6
Authentication
We'll build an authentication system using JWTs from scratch, and compare JWTs to other authentication methods
7
Authorization
Learn about how authorization differs from authentication, and how to implement it in your application
8
Webhooks
Webhooks are a special kind of HTTP handler that you'll use often in modern web applications. Learn how to use them here
9
Documentation
Learn about documentation, why it's important, and learn about some tools that can help you write good documentation

Join 836 students in the Learn HTTP Servers in Go course

Read reviews of their learning experiences

Loved the pacing and depth.

(3/5)
Sohail Najar profile image

Sohail Najar

Singapore

Solid overview with just enough depth to be practical.

(4/5)
Ali  profile image

Ali

Iran

Helpful examples and explanations.

(3/5)
Curtis Halpin profile image

Curtis Halpin

Santa Cruz, CA

I appreciated how the instructor broke down the core concepts into digestible steps. The examples were practical and mirrored what I encounter in my day-to-day work. In particular, the section on error handling and observability tied everything together. If I had a minor nitpick, it would be that the pacing sped up in the last module, but the accompanying notes and code samples made it easy to revisit and cement the ideas.

(5/5)
Srinivasa Chaitanya Chaganty profile image

Srinivasa Chaitanya Chaganty

Hyderabad,India

I appreciated how the instructor broke down the core concepts into digestible steps. The examples were practical and mirrored what I encounter in my day-to-day work. In particular, the section on error handling and observability tied everything together. If I had a minor nitpick, it would be that the pacing sped up in the last module, but the accompanying notes and code samples made it easy to revisit and cement the ideas.

(3/5)
Arjunbir Singh profile image

Arjunbir Singh

India

The real-world context made the concepts click for me.

(5/5)
Josiah Bell profile image

Josiah Bell

Bellevue, NE

The real-world context made the concepts click for me.

(3/5)
David Kariuki profile image

David Kariuki

Rwanda

Fantastic! The explanations were crisp and the demos were grounded in real engineering scenarios. What stood out to me was the clear discussion around testing strategies and how to evolve a codebase over time. The sample repository was well-structured and made it simple to jump between sections. I’d love to see a follow-up lesson that goes deeper into profiling and performance tuning.

(3/5)
Wellington Anthony Johnson II profile image

Wellington Anthony Johnson II

Atlanta, GA

Short but impactful—taught me exactly what I needed.

(4/5)
Ada Moth profile image

Ada Moth

Anywhere I code.

Showing 1-9 of 10

or view more reviews

Mediocrity doesn't cut it anymore

The only way to become a great developer is to write a lot of code

Avoid tutorial hell

by writing a ton of code

Stay motivated with

a game-like curriculum

Build portfolio projects

to prove your skills

Delve deeper

into foundational concepts

Learn flexibly online

without interrupting your life

For 1% the price of college

to minimize your financial risk

Frequently asked Questions

Got questions? We've got answers

Yes! It's free to create an account and start learning. You'll get all the immersive and interactive features for free for a few chapters. After that, if you still haven't paid for a membership, you'll be in read-only (content only) mode.