This application is taking care of user management and deck building.
See Matag: The Game wiki
Read Requisites
The application connects to a postgresql database. You can install one locally and then run the postgres-schema.sql
The application is written using:
The use of an IDE like IntelliJ will help much during development. (Community edition is available).
Build java:
mvn install
Build js:
yarn install
yarn watch
(To have more helps with imports click on the js folder and mark it as resource root)
You can run all tests with:
mvn test
Tests mock database interaction so you should be able to code without it.
Startup the app as spring boot
# from intellij or with
mvn spring-boot:run -DDB_URL=<db_url> -DDB_NAME=<db_name> -DDB_USERNAME=<db_username> -DDB_PASSWORD=<db_password> -Dserver.port=8082 -Dmatag.admin.url=http://localhost:8082 -Dmatag.game.url=http://localhost:8080 -Dmatag.admin.password=password
(The values above depend on your configuration.)