aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 09493f6ec5ed6b5ae4f505810d50b789769a2565 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
A simple chat application that demonstrates integration of Play with ScalaJS.

## Run

1. start sbt: `sbt`
2. compile on demand, when files change: `run`
3. go to `http://localhost:9000/chat/USERNAME` where `USERNAME` is your name of choice

## Important directories

- `server/` contains the Play server that will serve the client app
- `client/` ScalaJS client app sources
- `shared/` common sources, available in both server and client. In this project, shared contains messages that are passed between the server and client via a websocket

## References
- [Play framework](https://www.playframework.com)
- [ScalaJS](https://www.scala-js.org/)
- [Play-ScalaJS integration](https://github.com/vmunier/play-with-scalajs-example)