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

Learn HTTP Servers in Go

Build the server side of the web: routes, middleware, auth, and APIs in Go.

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 10,591 students in the Learn HTTP Servers in Go course

Read reviews of their learning experiences

very fun to learn

(5/5)
PSL2310  profile image

PSL2310

Germany

This helped me a lot getting used to pointer, reference, dereferencing, setting up packages, types, and almost everything you need to know for setting up backend-pipeline. Some parts would have been better if there were more explanations, but I got that help from AI. Without boot.dev, I wouldn't have been able to set up go backend at all. This is nice. It would have been also better if we talk about more on 3-layers for abstraction, something like router-controller-services-repo. Great course!

(5/5)
Harim Yoo profile image

Harim Yoo

South Korea

Great guided project to learn about servers and handling server requests.

(5/5)
Jordan Rogers profile image

Jordan Rogers

Puerto Vallarta, Mexico

Learned some endpointing.

(5/5)
Infernoe , Mister profile image

Infernoe , Mister

United Kingdom

I learned a lot of new information during this course. I only had learned bits and pieces of the overall course and so it was nice to build a project to solidify my core knowledge of servers and how they connect to databases, refreshing my SQL knowledge in a real world scenario, and handling requests in the back end.

(5/5)
Jacob  profile image

Jacob

United States

Great course. Not too difficult. Cover basics.

(5/5)
Mats Nord profile image

Mats Nord

Sweden, Scania

Great and complete course to really learn from A to Z the very basics of an http server in GO.

(5/5)
Mauro Leonel Quiroga profile image

Mauro Leonel Quiroga

Argentina, San Luis

Great course for Go and HTTP Servers in general.

(5/5)
Brennan W profile image

Brennan W

Franklin, TN

This has been my favourite course so far - brings everything together

(5/5)
wayne francis profile image

wayne francis

Donacarney, Meath, Ireland

Showing 1-9 of 167

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.