This repository contains a collection of quickstarts for ZIO. Each quickstart is a self-contained project that demonstrates a particular aspect of ZIO. The quickstarts are designed to be easy to run and explore.
To learn about each quickstart, we have a dedicated article about it at the ZIO documentation website. You can find the list of quickstart articles here.
First, open the console and clone the project using git
(or you can simply download the project) and then to the directory of the quickstart you want to run, e.g. zio-quickstart-restful-webservice
:
$ git clone https://github.com/zio/zio-quickstarts.git
$ cd zio-quickstarts/zio-quickstart-restful-webservice
Once you are inside the project directory, run the application:
$ sbt run
- ZIO Cache
- ZIO Json
- ZIO GraphQL Webservice
- ZIO Hello World
- ZIO JUnit Tests
- ZIO Kafka
- ZIO Prelude
- ZIO Reloadable Service
- ZIO RESTful webservice
- ZIO RESTful webservice with configs
- ZIO RESTful webservice with default logger
- ZIO RESTful webservice with custom logger
- ZIO RESTful webservice with docker
- ZIO RESTful webservice with metrics
- ZIO STM - many thanks to @jorge-vasquez-2301 and his article for this example
- ZIO SQL
- ZIO Streams
- ZIO Schema