Hello world

Welcome to this "building a webserver" tour. This will teach you everything you need to know to easily build web servers with Gleam.

Using this guide

Each section will introduce a new concept in the example on the right. You can run them and edit your code to see how the app changes.

The code in this tutorial can, and should be, run at any time. Click the "Run" button to see how the code works.

This first example is just to get you started and returns text "Hello World!" for any request. A "200" code indicates everything is OK.