https://github.com/yokra9/akka-http-example
https://github.com/yokra9/akka-http-example
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yokra9/akka-http-example
- Owner: yokra9
- Created: 2021-03-06T09:21:57.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2025-07-13T09:28:48.000Z (5 months ago)
- Last Synced: 2025-07-13T11:33:44.157Z (5 months ago)
- Language: Scala
- Size: 131 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pekko-http-example
[](https://github.com/yokra9/akka-http-example/actions/workflows/Test.yml)
* [Scala で作った Web アプリを Dockerize して動かす](https://qiita.com/yokra9/items/dd560305ccb5fc8cd6e1)
* [VSCode 上で快適に Scala を書くための dev container 定義を作ってみた](https://qiita.com/yokra9/items/351b9847c5f1e49a215c)
* [Scala でも Dependabot のように依存ライブラリをアップデートする PR を自動で作成してほしい(Github Actions)](https://qiita.com/yokra9/items/5d80a9397951091ed637)
のサンプルレポジトリです。
## 使い方
```bash
# 起動
sbt run
# テストを実施
sbt test
# カバレッジを測定してレポートを出力
sbt clean coverage test coverageReport
# Docker イメージのビルド
sbt Docker/publishLocal
# Dockerfile 生成のみ (target/docker/stage)
sbt Docker/stage
# 手動ビルドとコンテナの開始
docker build -t pekko-example target/docker/stage/
docker run -p 8088:8088 --env JAVA_OPTS=-Dhttp.port=8088 pekko-example
```