An open API service indexing awesome lists of open source software.

https://github.com/takapi327/cats-effect-hands-on

Scala3 x Cats Effect 3を使用したアプリケーション構築のハンズオン
https://github.com/takapi327/cats-effect-hands-on

Last synced: 10 months ago
JSON representation

Scala3 x Cats Effect 3を使用したアプリケーション構築のハンズオン

Awesome Lists containing this project

README

          

# Scala3 x Cats Effect 3を使用したアプリケーション構築のハンズオン

以下本ハンズオンで行う項目

1. http4sでのHello World
2. Cats Effect IOに関して (1 ~ 10章ぐらい?)
3. doobie
4. 1で作ったhttp4sでCRUD
5. おまけ

前準備として、本プロジェクトのクローン及びコンパイルを行う。

```shell
git clone git@github.com:takapi327/cats-effect-hands-on.git

sbt compile
```

## 1. http4sでのHello World
こちらの項目ではhttp4を使用してHello Worldの文字列をブラウザに表示するところまでを行う。

以下参照

- [ドキュメント](https://github.com/takapi327/cats-effect-hands-on/blob/master/chapter/hello-world/docs/HelloWorld.md)
- [アプリケーション](https://github.com/takapi327/cats-effect-hands-on/tree/master/chapter/hello-world/src/main/scala/hello/world)

## 2. Cats Effect IOに関して (1 ~ 10章ぐらい?) :warning:準備中:warning:
こちらの項目ではCats Effect 3を使用してIOのEffect patternについて学ぶ

以下参照

- [ドキュメント](https://github.com/takapi327/cats-effect-hands-on/tree/master/chapter/cats-effect/docs)
- [アプリケーション](https://github.com/takapi327/cats-effect-hands-on/tree/master/chapter/cats-effect)

## 3. doobie :warning:準備中:warning:
こちらの項目ではdoobieを使用してDBアクセスについてを学ぶ。

コネクションプールの生成、クエリ発行、テストの構築を行う。

以下参照

- [ドキュメント](https://github.com/takapi327/cats-effect-hands-on/tree/master/chapter/doobie/docs)
- [アプリケーション](https://github.com/takapi327/cats-effect-hands-on/tree/master/chapter/doobie)

## 4. http4sでCRUD :warning:準備中:warning:
こちらの項目では今まで学んできてものを使用して簡単なCRUDを行えるTODOアプリの作成を行う。

Scala3 x Cats Effect x http4s x doobie

以下参照

- [ドキュメント](https://github.com/takapi327/cats-effect-hands-on/tree/master/chapter/crud/docs)
- [アプリケーション](https://github.com/takapi327/cats-effect-hands-on/tree/master/chapter/crud)

## 5. おまけ :warning:準備中:warning:

秘密