A WIP implementation of the Yaniv card game as a REST API with Server-sent events push and a Preact frontend.
Try it out on maxfrie.uber.space! (automatically deployed from the master branch using the "production build" action)
-
Run the backend on localhost:9000:
sbt run
-
Run the frontend on localhost:8080:
cd frontend npm run dev
This will auto-reload on file changes.
-
Build the frontend into
public/frontend
:cd frontend npm run build
-
Make a build of the Play app that will serve the frontend:
sbt dist