Multiplayer tic-tac-toe game written in Kotlin and JS.
- JDK 8
- Docker
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. In order to run the project you can execute this command in the checkout directory:
$ ./gradlew bootRun
It will setup database in a docker container and run the backend. Go to http://localhost:8080
in order to check this out.
If you want to run the backend from the IDE you should execute docker-compose
manually:
$ docker-compose -f backend/docker-compose.yml up
Then execute whole project build:
$ ./gradlew build
This command will, among other things, build frontend
project and create static assets that will be served by the backend
.
Then you can just run TicTacToeApplication#main
from the IDE.
When you have backend running on port 8080
, you can run webpack dev server, that will build the bundle incrementally on every code change:
$ cd frontend
$ yarn start
It will automatically open http://localhost:3000
.
- Anton Sukhonosenko — ezhaka
This project is licensed under the MIT License.