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を使用したアプリケーション構築のハンズオン
- Host: GitHub
- URL: https://github.com/takapi327/cats-effect-hands-on
- Owner: takapi327
- Created: 2022-12-12T04:11:17.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-23T14:49:13.000Z (over 3 years ago)
- Last Synced: 2025-08-20T05:46:32.819Z (10 months ago)
- Language: Scala
- Size: 7.21 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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:
秘密