Final project of Evolution Scala bootcamp
Multiplayer game of Reversi done in Scala using:
- Http4s - Backend service
- ReactJs with typescript - Frontend
- Websockets - Client/server communication
Run the backend service
sbt run
From frontend
directory run
npm install
npm start
In your browser open
localhost:3000
From project root run the following command
docker compose up
and open in your browser
localhost:8080
this will create a container running "fat jar" of the app containing production build
This project uses Sbt assembly plugin to build "fat jar" of the project. build.sbt
contains task that builds production frontend and copies result to build target, this task is executed during assembly, so you just need to run
sbt assembly
and then to run the app
java -jar target/scala-2.13/reversi-app.jar