Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ptrdom/akka-grpc-scala-js-grpcweb
https://github.com/ptrdom/akka-grpc-scala-js-grpcweb
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ptrdom/akka-grpc-scala-js-grpcweb
- Owner: ptrdom
- License: mit
- Created: 2020-12-19T08:10:48.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-30T15:30:00.000Z (almost 4 years ago)
- Last Synced: 2024-10-06T03:03:07.184Z (3 months ago)
- Language: Scala
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Akka gRPC Scala.js gRPC-web
Built on:
- https://github.com/akka/akka-grpc
- https://github.com/scalapb/scalapb-grpcweb
- https://github.com/sbt/sbt-web
- https://github.com/vmunier/sbt-web-scalajs
- https://github.com/scalacenter/scalajs-bundler## How to run
Using `sbt`:
- `"project server" ~compile`
- `"project server" ~reStart`
- Use `reStart` instead of `run`, otherwise `client` changes won't be detected.Using `IntelliJ` (tested with `2020.3`):
- Use Run/Debug configurations provided in `/.run`.## Issues
1. `~reStart` triggers full `server` reload. Author of `sbt-web-scalajs` indicates that there's no workaround for that.
https://github.com/playframework/playframework with https://github.com/playframework/play-grpc might be a better
backend because `Play`'s custom reload script shouldn't trigger on asset changes.
2. `client` bundling can be greatly sped up during development - https://scalacenter.github.io/scalajs-bundler/reference.html#bundling-mode-library-only.