01-getting-started/

directory
v14.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2026 License: BSD-3-Clause

Directories

Path Synopsis
Step 1 of 13: the smallest Iris program.
Step 1 of 13: the smallest Iris program.
Step 2 of 13: routes, a router prefix and a typed path parameter.
Step 2 of 13: routes, a router prefix and a typed path parameter.
Step 3 of 13: a JSON body, validated before the handler sees it.
Step 3 of 13: a JSON body, validated before the handler sees it.
Step 4 of 13: domain errors, mapped to status codes exactly once.
Step 4 of 13: domain errors, mapped to status codes exactly once.
Step 5 of 13: storage behind an interface, rules in a service.
Step 5 of 13: storage behind an interface, rules in a service.
Step 6 of 13: a controller instead of closures.
Step 6 of 13: a controller instead of closures.
Step 7 of 13: books under shelves, with guards.
Step 7 of 13: books under shelves, with guards.
Step 8 of 13: a paginated list in one call.
Step 8 of 13: a paginated list in one call.
Step 9 of 13: a middleware, and where it runs.
Step 9 of 13: a middleware, and where it runs.
Step 10 of 13: an admin group behind basic authentication.
Step 10 of 13: an admin group behind basic authentication.
Step 11 of 13: configuration from a file, secrets from the environment.
Step 11 of 13: configuration from a file, secrets from the environment.
Step 12 of 13: the whole application on the iris.NewBuilder chain.
Step 12 of 13: the whole application on the iris.NewBuilder chain.
Step 13 of 13: the whole service tested in memory.
Step 13 of 13: the whole service tested in memory.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL