ZIO Examples

ZIO with http4s and doobie

in package: http4s_doobie

Checkout this blog post: link. It explains in details how to use ZIO with http4s and doobie.

Find the implementation in this package: com.zio.examples.http4s_doobie

Inspired by: Maxim Schuwalow in this project: zio-todo-backend

Credit: @jdegoes and @mschuwalow

Quickstart

in package: quickstart

There are 2 examples:

  1. Eat chocolate with ZIO Example: repeat and retry actions using ZIO Schedules.

  1. ZIOLayers Example: a program that interacts with a service called Show to display a given message.

Checkout this video for a detailed explanation Link

Prepare pizza and open the fridge using ZIO

in package: ilforno

This example is shows how to use Ref, Queue, ZManaged, and ZLayer.

For more details and explanation, checkout these videos:

And this blog post: Opening the fridge with ZIO

4714cd12-a2df-401e-9448-a95fdf46790b-46343c36-1be7-4dd2-ae8c-822fca98cdb1-v1