Local development

Run the tutorial locally

This site is the static view of a repository of runnable tests. Clone it, run the suites, and every lesson becomes code you can edit and execute in your editor.

One source tree, two views

Lessons live under steps/ — each folder has a README.md (the explanation) and an index.test.ts (the exercises). The static site and the interactive TutorialKit edition are both generated from that directory.

Quick start

# clone and install
git clone https://github.com/jreehal/effect-examples.git
cd effect-examples/step-by-step
pnpm install

# run the full suite
pnpm test

# run a single lesson
pnpm test 05-effect-basics

# serve the static site locally
pnpm site:install   # one-time
pnpm site:dev       # http://localhost:4321

Effect 4

This tutorial targets effect@4 — the same version used on effect.website. Import from effect and effect/testing; unstable modules live under effect/unstable/*.

All lessons